From 2b6928da66455e473e9fe52b9bb176c1e39be09a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 30 May 2009 15:28:52 +0000 Subject: [PATCH] Actually sort wrapper methods in GL.cs. --- Source/Bind/GL2/Generator.cs | 19 +- Source/Bind/Structures/Delegate.cs | 11 +- Source/Bind/Structures/Function.cs | 11 +- Source/OpenTK/Graphics/GL/GL.cs | 218024 +++++++++++++------------- 4 files changed, 109047 insertions(+), 109018 deletions(-) diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index d1e16366..9f034fb6 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -462,8 +462,13 @@ namespace Bind.GL2 if (!Directory.Exists(Settings.OutputPath)) Directory.CreateDirectory(Settings.OutputPath); + string temp_enums_file = Path.GetTempFileName(); + string temp_delegates_file = Path.GetTempFileName(); + string temp_core_file = Path.GetTempFileName(); + string temp_wrappers_file = Path.GetTempFileName(); + // Enums - using (BindStreamWriter sw = new BindStreamWriter(Path.Combine(Settings.OutputPath, enumsFile))) + using (BindStreamWriter sw = new BindStreamWriter(temp_enums_file)) { WriteLicense(sw); @@ -496,7 +501,7 @@ namespace Bind.GL2 } // Delegates - using (BindStreamWriter sw = new BindStreamWriter(Path.Combine(Settings.OutputPath, delegatesFile))) + using (BindStreamWriter sw = new BindStreamWriter(temp_delegates_file)) { WriteLicense(sw); sw.WriteLine("namespace {0}", Settings.OutputNamespace); @@ -514,7 +519,7 @@ namespace Bind.GL2 } // Core - using (BindStreamWriter sw = new BindStreamWriter(Path.Combine(Settings.OutputPath, importsFile))) + using (BindStreamWriter sw = new BindStreamWriter(temp_core_file)) { WriteLicense(sw); sw.WriteLine("namespace {0}", Settings.OutputNamespace); @@ -531,7 +536,7 @@ namespace Bind.GL2 } // Wrappers - using (BindStreamWriter sw = new BindStreamWriter(Path.Combine(Settings.OutputPath, wrappersFile))) + using (BindStreamWriter sw = new BindStreamWriter(temp_wrappers_file)) { WriteLicense(sw); sw.WriteLine("namespace {0}", Settings.OutputNamespace); @@ -546,6 +551,11 @@ namespace Bind.GL2 sw.Unindent(); sw.WriteLine("}"); } + + File.Replace(temp_enums_file, Path.Combine(Settings.OutputPath, enumsFile), null); + File.Replace(temp_delegates_file, Path.Combine(Settings.OutputPath, delegatesFile), null); + File.Replace(temp_core_file, Path.Combine(Settings.OutputPath, importsFile), null); + File.Replace(temp_wrappers_file, Path.Combine(Settings.OutputPath, wrappersFile), null); } #endregion @@ -667,6 +677,7 @@ namespace Bind.GL2 sw.Indent(); } + wrappers[key].Sort(); foreach (Function f in wrappers[key]) { if ((Settings.Compatibility & Settings.Legacy.NoDocumentation) == 0) diff --git a/Source/Bind/Structures/Delegate.cs b/Source/Bind/Structures/Delegate.cs index d8419aed..223c0b67 100644 --- a/Source/Bind/Structures/Delegate.cs +++ b/Source/Bind/Structures/Delegate.cs @@ -20,7 +20,7 @@ namespace Bind.Structures /// Represents an opengl function. /// The return value, function name, function parameters and opengl version can be retrieved or set. /// - public class Delegate + public class Delegate : IComparable { internal static DelegateCollection Delegates; @@ -624,6 +624,15 @@ namespace Bind.Structures } #endregion + + #region IComparable Members + + public int CompareTo(Delegate other) + { + return Name.CompareTo(other.Name); + } + + #endregion } #region class DelegateCollection : SortedDictionary diff --git a/Source/Bind/Structures/Function.cs b/Source/Bind/Structures/Function.cs index 032db53d..a2b77560 100644 --- a/Source/Bind/Structures/Function.cs +++ b/Source/Bind/Structures/Function.cs @@ -12,7 +12,7 @@ using System.Diagnostics; namespace Bind.Structures { - public class Function : Delegate, IEquatable + public class Function : Delegate, IEquatable, IComparable { #region Static Members @@ -564,6 +564,15 @@ namespace Bind.Structures } #endregion + + #region IComparable Members + + public int CompareTo(Function other) + { + return Name.CompareTo(other.Name); + } + + #endregion } #region class FunctionBody : List diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index 69915b0f..1edc955e 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -39,6 +39,20 @@ namespace OpenTK.Graphics public static partial class GL_3dfx { + [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")] + public static + void TbufferMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTbufferMask3DFX((UInt32)mask); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")] public static @@ -54,455 +68,48 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")] - public static - void TbufferMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTbufferMask3DFX((UInt32)mask); - #if DEBUG - } - #endif - } - } public static partial class Apple { - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")] - public static - void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + void BindVertexArray(UInt32 array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + Delegates.glBindVertexArrayAPPLE((UInt32)array); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) + void BindVertexArray(Int32 array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + Delegates.glBindVertexArrayAPPLE((UInt32)array); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")] public static - void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + void BufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] - public static - unsafe void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] UInt32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - unsafe void GenFences(Int32 n, [Out] UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterApple)pname, (Int32)param); #if DEBUG } #endif @@ -511,39 +118,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - void DeleteFences(Int32 n, UInt32[] fences) + unsafe void DeleteFences(Int32 n, Int32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - void DeleteFences(Int32 n, Int32[] fences) + unsafe void DeleteFences(Int32 n, UInt32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); #if DEBUG } #endif @@ -593,115 +189,300 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - unsafe void DeleteFences(Int32 n, UInt32* fences) + void DeleteFences(Int32 n, UInt32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - unsafe void DeleteFences(Int32 n, Int32* fences) + void DeleteFences(Int32 n, Int32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static - void SetFence(UInt32 fence) + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetFenceAPPLE((UInt32)fence); + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static - void SetFence(Int32 fence) + void DeleteVertexArrays(Int32 n, Int32[] arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetFenceAPPLE((UInt32)fence); + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static - bool IsFence(UInt32 fence) + void DeleteVertexArrays(Int32 n, UInt32[] arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsFenceAPPLE((UInt32)fence); - #if DEBUG + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceAPPLE((UInt32)fence); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static - bool TestFence(UInt32 fence) + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestFenceAPPLE((UInt32)fence); + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static - bool TestFence(Int32 fence) + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestFenceAPPLE((UInt32)fence); + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")] + public static + void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")] + public static + void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer); #if DEBUG } #endif @@ -736,35 +517,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] - public static - bool TestObject(OpenTK.Graphics.AppleFence @object, UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] - public static - bool TestObject(OpenTK.Graphics.AppleFence @object, Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishObjectAPPLE")] public static void FinishObject(OpenTK.Graphics.AppleFence @object, Int32 name) @@ -779,39 +531,129 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] + [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")] public static - void BindVertexArray(UInt32 array) + void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindVertexArrayAPPLE((UInt32)array); + Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static - void BindVertexArray(Int32 array) + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindVertexArrayAPPLE((UInt32)array); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) + void FlushVertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [Out] Int32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -819,29 +661,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* arrays_ptr = arrays) + fixed (Int32* fences_ptr = fences) { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } } #if DEBUG @@ -850,9 +672,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + void GenFences(Int32 n, [Out] UInt32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -860,29 +682,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* arrays_ptr = &arrays) + fixed (UInt32* fences_ptr = fences) { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } } #if DEBUG @@ -891,30 +693,73 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + unsafe void GenFences(Int32 n, [Out] Int32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + void GenFences(Int32 n, [Out] out UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + unsafe void GenFences(Int32 n, [Out] UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [Out] out Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } #if DEBUG } #endif @@ -923,19 +768,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] public static - void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) + unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); #if DEBUG } #endif @@ -1007,28 +861,62 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] public static - unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) + void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] public static - unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + bool IsFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + return Delegates.glIsFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArrayAPPLE((UInt32)array); #if DEBUG } #endif @@ -1049,57 +937,280 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static - bool IsVertexArray(Int32 array) + void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsVertexArrayAPPLE((UInt32)array); + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static - void VertexArrayRange(Int32 length, [Out] IntPtr pointer) + unsafe void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static - void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) - where T1 : struct + void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } } - finally + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - pointer_ptr.Free(); + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } } #if DEBUG } #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + public static + void SetFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + public static + void SetFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceAPPLE((UInt32)fence); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + public static + bool TestObject(OpenTK.Graphics.AppleFence @object, UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + public static + bool TestObject(OpenTK.Graphics.AppleFence @object, Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")] + public static + void VertexArrayParameter(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.AppleVertexArrayRange)pname, (Int32)param); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) @@ -1123,6 +1234,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) @@ -1169,23 +1294,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static - void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -1195,7 +1306,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -1206,117 +1317,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")] - public static - void VertexArrayParameter(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.AppleVertexArrayRange)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")] - public static - void BufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterApple)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - } public static partial class Arb @@ -1344,6 +1344,711 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] + public static + void AttachObject(UInt32 containerObj, UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] + public static + void AttachObject(Int32 containerObj, Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); + #if DEBUG + } + #endif + } + + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] + public static + void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] + public static + void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] + public static + void BindAttribLocation(UInt32 programObj, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] + public static + void BindAttribLocation(Int32 programObj, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] + public static + void BindBuffer(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] + public static + void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] + public static + void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] + public static + void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage); + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbColorBufferFloat", Version = "1.5", EntryPoint = "glClampColorARB")] + public static + void ClampColor(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClampColorARB((OpenTK.Graphics.ArbColorBufferFloat)target, (OpenTK.Graphics.ArbColorBufferFloat)clamp); + #if DEBUG + } + #endif + } + /// /// Select active texture unit @@ -1369,56 +2074,23 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Compiles a shader object /// - /// + /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] - public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.TextureUnit)target, (Double)s); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the shader object to be compiled. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) + void CompileShader(UInt32 shaderObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + Delegates.glCompileShaderARB((UInt32)shaderObj); #if DEBUG } #endif @@ -1426,27 +2098,75 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] + public static + void CompileShader(Int32 shaderObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShaderARB((UInt32)shaderObj); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.TextureUnit)target, (Single)s); + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -1454,28 +2174,61 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1483,27 +2236,61 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1511,28 +2298,61 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1540,27 +2360,61 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a one-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1568,28 +2422,66 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1597,27 +2489,57 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -1625,32 +2547,65 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); } #if DEBUG } @@ -1659,32 +2614,65 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); } #if DEBUG } @@ -1693,28 +2681,66 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a two-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -1722,1730 +2748,71 @@ namespace OpenTK.Graphics /// - /// Set the current texture coordinates + /// Specify a three-dimensional texture image in a compressed format /// /// /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. /// /// - /// + /// /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] - public static - unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixfARB((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glLoadTransposeMatrixdARB((Double*)m); - #if DEBUG + data_ptr.Free(); } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] - public static - unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixfARB((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] - public static - void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] - public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Specify multisample coverage parameters - /// - /// - /// - /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. - /// - /// - /// - /// - /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. - /// - /// - [AutoGenerated(Category = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverageARB((Single)value, (bool)invert); #if DEBUG } #endif @@ -3587,78 +2954,6 @@ namespace OpenTK.Graphics } - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Specify a three-dimensional texture image in a compressed format /// @@ -3781,7 +3076,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -3803,1360 +3098,6 @@ namespace OpenTK.Graphics } - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Specify a one-dimensional texture subimage in a compressed format /// @@ -5459,32 +3400,3320 @@ namespace OpenTK.Graphics /// - /// Return a compressed texture image + /// Specify a two-dimensional texture subimage in a compressed format /// /// /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. /// /// - /// + /// /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - /// + /// /// - /// Returns the compressed texture image. + /// Specifies a texel offset in the x direction within the texture array. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")] + public static + Int32 CreateProgramObject() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateProgramObjectARB(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")] + public static + Int32 CreateShaderObject(OpenTK.Graphics.ArbShaderObjects shaderType) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.ArbShaderObjects)shaderType); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixARB")] + public static + void CurrentPaletteMatrix(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCurrentPaletteMatrixARB((Int32)index); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + public static + void DeleteObject(Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteObjectARB((UInt32)obj); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + public static + void DeleteObject(UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteObjectARB((UInt32)obj); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + unsafe void DeleteProgram(Int32 n, Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + unsafe void DeleteQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + public static + void DetachObject(Int32 containerObj, Int32 attachedObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + public static + void DetachObject(UInt32 containerObj, UInt32 attachedObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")] + public static + void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.ArbDrawBuffers bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = &bufs) + { + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = bufs) + { + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArrayARB((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glEndQueryARB")] + public static + void EndQuery(OpenTK.Graphics.ArbOcclusionQuery target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + public static + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + public static + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + public static + void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + public static + void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + unsafe void GenProgram(Int32 n, [Out] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] out Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] out UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + unsafe void GenQueries(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + { + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* obj_ptr = obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* obj_ptr = obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* obj_ptr = &obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] + public static + Int32 GetAttribLocation(UInt32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] + public static + Int32 GetAttribLocation(Int32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); #if DEBUG } #endif @@ -5511,7 +6740,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) where T2 : struct { #if DEBUG @@ -5595,7 +6824,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) where T2 : struct { #if DEBUG @@ -5617,6 +6846,39 @@ namespace OpenTK.Graphics } + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + /// /// Return a compressed texture image /// @@ -5658,51 +6920,126 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetHandleARB")] public static - void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single param) + Int32 GetHandle(OpenTK.Graphics.ArbShaderObjects pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfARB((OpenTK.Graphics.ArbPointParameters)pname, (Single)param); + return Delegates.glGetHandleARB((OpenTK.Graphics.ArbShaderObjects)pname); #if DEBUG } #endif } - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] public static - void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single[] @params) + unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] + public static + void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5712,7 +7049,413 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params_ptr); + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -5722,37 +7465,60 @@ namespace OpenTK.Graphics /// - /// Specify point parameters + /// Returns a parameter from a program object /// + /// + /// + /// Specifies the program object to be queried. + /// + /// /// /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. /// /// - /// + /// /// - /// Specifies the value that pname will be set to. + /// Returns the requested object parameter. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static - unsafe void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single* @params) + unsafe void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params); + Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static - void Weight(Int32 size, SByte[] weights) + void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5760,9 +7526,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* weights_ptr = weights) + fixed (Int32* @params_ptr = &@params) { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); + Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -5771,9 +7538,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - void Weight(Int32 size, ref SByte weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5781,9 +7548,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* weights_ptr = &weights) + fixed (Double* @params_ptr = @params) { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -5792,23 +7579,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - unsafe void Weight(Int32 size, SByte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] - public static - void Weight(Int32 size, Int16[] weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5816,29 +7589,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* weights_ptr = weights) + fixed (Double* @params_ptr = &@params) { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] - public static - void Weight(Int32 size, ref Int16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = &weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -5847,23 +7601,38 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - unsafe void Weight(Int32 size, Int16* weights) + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightsvARB((Int32)size, (Int16*)weights); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static - void Weight(Int32 size, Int32[] weights) + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5871,9 +7640,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* weights_ptr = weights) + fixed (Double* @params_ptr = &@params) { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -5881,9 +7651,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void Weight(Int32 size, ref Int32 weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5891,9 +7661,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* weights_ptr = &weights) + fixed (Single* @params_ptr = &@params) { - Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -5902,23 +7673,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - unsafe void Weight(Int32 size, Int32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightivARB((Int32)size, (Int32*)weights); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] - public static - void Weight(Int32 size, Single[] weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5926,9 +7683,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = weights) + fixed (Single* @params_ptr = @params) { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -5936,9 +7693,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void Weight(Int32 size, ref Single weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5946,9 +7703,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = &weights) + fixed (Single* @params_ptr = @params) { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); } } #if DEBUG @@ -5957,23 +7714,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - unsafe void Weight(Int32 size, Single* weights) + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightfvARB((Int32)size, (Single*)weights); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - void Weight(Int32 size, Double[] weights) + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5981,29 +7739,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* weights_ptr = weights) + fixed (Single* @params_ptr = &@params) { - Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] - public static - void Weight(Int32 size, ref Double weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* weights_ptr = &weights) - { - Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -6012,23 +7751,144 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static - unsafe void Weight(Int32 size, Double* weights) + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightdvARB((Int32)size, (Double*)weights); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void Weight(Int32 size, Byte[] weights) + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] ref T2 @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + unsafe void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6036,9 +7896,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* weights_ptr = weights) + fixed (Int32* @params_ptr = &@params) { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -6046,9 +7907,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static - void Weight(Int32 size, ref Byte weights) + void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6056,9 +7917,1718 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* weights_ptr = &weights) + fixed (Int32* @params_ptr = @params) { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] + public static + Int32 GetUniformLocation(Int32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] + public static + Int32 GetUniformLocation(UInt32 programObj, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -6067,152 +9637,10 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - unsafe void Weight(Int32 size, Byte* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightubvARB((Int32)size, (Byte*)weights); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] - public static - void Weight(Int32 size, UInt16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = weights) - { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] - public static - void Weight(Int32 size, ref UInt16 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* weights_ptr = &weights) - { - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] - public static - unsafe void Weight(Int32 size, UInt16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] - public static - void Weight(Int32 size, UInt32[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] - public static - void Weight(Int32 size, ref UInt32 weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* weights_ptr = &weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] - public static - unsafe void Weight(Int32 size, UInt32* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6221,7 +9649,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -6232,10 +9660,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6244,7 +9672,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -6255,10 +9683,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6267,7 +9695,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -6278,10 +9706,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6290,7 +9718,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -6301,37 +9729,330 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glVertexBlendARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void VertexBlend(Int32 count) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexBlendARB((Int32)count); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void CurrentPaletteMatrix(Int32 index) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCurrentPaletteMatrixARB((Int32)index); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void MatrixIndex(Int32 size, Byte[] indices) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBufferARB((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBufferARB((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramARB((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgramARB((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] + public static + bool IsQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQueryARB((UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] + public static + bool IsQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQueryARB((UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] + public static + void LinkProgram(Int32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] + public static + void LinkProgram(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + void LoadTransposeMatrix(ref Double m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6339,9 +10060,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* indices_ptr = indices) + fixed (Double* m_ptr = &m) { - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); + Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); } } #if DEBUG @@ -6349,6 +10070,276 @@ namespace OpenTK.Graphics #endif } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + unsafe void LoadTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixdARB((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + void LoadTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + void LoadTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + unsafe void LoadTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixfARB((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")] + public static + unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferARB((OpenTK.Graphics.BufferTargetArb)target, (OpenTK.Graphics.ArbVertexBufferObject)access); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] public static void MatrixIndex(Int32 size, ref Byte indices) @@ -6369,6 +10360,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + public static + void MatrixIndex(Int32 size, Byte[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* indices_ptr = indices) + { + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] public static @@ -6385,29 +10396,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - void MatrixIndex(Int32 size, UInt16[] indices) + unsafe void MatrixIndex(Int32 size, Int32* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* indices_ptr = indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - void MatrixIndex(Int32 size, Int16[] indices) + void MatrixIndex(Int32 size, Int32[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6415,9 +10420,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* indices_ptr = indices) + fixed (Int32* indices_ptr = indices) { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); } } #if DEBUG @@ -6426,71 +10431,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - void MatrixIndex(Int32 size, ref UInt16 indices) + unsafe void MatrixIndex(Int32 size, UInt32* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* indices_ptr = &indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, ref Int16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = &indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] - public static - unsafe void MatrixIndex(Int32 size, UInt16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] - public static - unsafe void MatrixIndex(Int32 size, Int16* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); #if DEBUG } #endif @@ -6517,26 +10466,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, Int32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* indices_ptr = indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static @@ -6579,135 +10508,111 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - unsafe void MatrixIndex(Int32 size, UInt32* indices) + unsafe void MatrixIndex(Int32 size, Int16* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, ref Int16 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - unsafe void MatrixIndex(Int32 size, Int32* indices) + unsafe void MatrixIndex(Int32 size, UInt16* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + void MatrixIndex(Int32 size, Int16[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int16* indices_ptr = indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct + void MatrixIndex(Int32 size, UInt16[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (UInt16* indices_ptr = indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct + void MatrixIndex(Int32 size, ref UInt16 indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (UInt16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } } #if DEBUG } @@ -6716,22 +10621,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] public static - void WindowPos2(Double x, Double y) + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2dARB((Double)x, (Double)y); + Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.TextureUnit)target, (Double)s); #if DEBUG } #endif @@ -6739,16 +10649,278 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")] public static - void WindowPos2(Double[] v) + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.TextureUnit)target, (Single)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6758,7 +10930,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glWindowPos2dvARB((Double*)v_ptr); + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -6768,16 +10940,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static - void WindowPos2(ref Double v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6787,7 +10964,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = &v) { - Delegates.glWindowPos2dvARB((Double*)v_ptr); + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -6797,23 +10974,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] public static - unsafe void WindowPos2(Double* v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2dvARB((Double*)v); + Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); #if DEBUG } #endif @@ -6821,39 +11002,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] - public static - void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fARB((Single)x, (Single)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static - void WindowPos2(Single[] v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6863,7 +11026,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glWindowPos2fvARB((Single*)v_ptr); + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -6873,16 +11036,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static - void WindowPos2(ref Single v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6892,7 +11060,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glWindowPos2fvARB((Single*)v_ptr); + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -6902,23 +11070,28 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static - unsafe void WindowPos2(Single* v) + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2fvARB((Single*)v); + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); #if DEBUG } #endif @@ -6926,22 +11099,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] public static - void WindowPos2(Int32 x, Int32 y) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2iARB((Int32)x, (Int32)y); + Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); #if DEBUG } #endif @@ -6949,45 +11127,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static - void WindowPos2(ref Int32 v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6997,7 +11151,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = &v) { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -7007,63 +11161,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] - public static - unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2ivARB((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static - void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2sARB((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] - public static - void WindowPos2(Int16[] v) + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7071,9 +11183,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int32* v_ptr = v) { - Delegates.glWindowPos2svARB((Int16*)v_ptr); + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -7083,16 +11195,78 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static - void WindowPos2(ref Int16 v) + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7102,7 +11276,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glWindowPos2svARB((Int16*)v_ptr); + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -7112,23 +11286,62 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static - unsafe void WindowPos2(Int16* v) + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2svARB((Int16*)v); + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); #if DEBUG } #endif @@ -7136,22 +11349,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] public static - void WindowPos3(Double x, Double y, Double z) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); + Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); #if DEBUG } #endif @@ -7159,16 +11377,84 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static - void WindowPos3(Double[] v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7178,7 +11464,7 @@ namespace OpenTK.Graphics { fixed (Double* v_ptr = v) { - Delegates.glWindowPos3dvARB((Double*)v_ptr); + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); } } #if DEBUG @@ -7188,28 +11474,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] public static - void WindowPos3(ref Double v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dvARB((Double*)v_ptr); - } - } + Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); #if DEBUG } #endif @@ -7217,63 +11502,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dvARB((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static - void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] - public static - void WindowPos3(Single[] v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7283,7 +11526,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = v) { - Delegates.glWindowPos3fvARB((Single*)v_ptr); + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -7293,16 +11536,50 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static - void WindowPos3(ref Single v) + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7312,7 +11589,7 @@ namespace OpenTK.Graphics { fixed (Single* v_ptr = &v) { - Delegates.glWindowPos3fvARB((Single*)v_ptr); + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); } } #if DEBUG @@ -7322,23 +11599,27 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] public static - unsafe void WindowPos3(Single* v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3fvARB((Single*)v); + Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); #if DEBUG } #endif @@ -7346,68 +11627,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] - public static - void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] - public static - void WindowPos3(ref Int32 v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7417,7 +11651,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = &v) { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -7427,63 +11661,21 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] - public static - unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3ivARB((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] - public static - void WindowPos3(Int16[] v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7491,9 +11683,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int32* v_ptr = v) { - Delegates.glWindowPos3svARB((Int16*)v_ptr); + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); } } #if DEBUG @@ -7503,16 +11695,107 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static - void WindowPos3(ref Int16 v) + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7522,7 +11805,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glWindowPos3svARB((Int16*)v_ptr); + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); } } #if DEBUG @@ -7532,23 +11815,2932 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Set the current texture coordinates /// - /// + /// /// - /// Specify the , , coordinates for the raster position. + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static - unsafe void WindowPos3(Int16* v) + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3svARB((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + void MultTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + unsafe void MultTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixdARB((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + void MultTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + unsafe void MultTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixfARB((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] + public static + void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfARB((OpenTK.Graphics.ArbPointParameters)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + public static + unsafe void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] + public static + void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvARB((OpenTK.Graphics.ArbPointParameters)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] + public static + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] + public static + void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. + /// + /// + [AutoGenerated(Category = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverageARB((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] + public static + unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] + public static + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] + public static + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")] + public static + void Uniform1(Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fARB((Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + void Uniform1(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] + public static + void Uniform1(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")] + public static + void Uniform1(Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iARB((Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")] + public static + void Uniform2(Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + void Uniform2(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + void Uniform2(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")] + public static + void Uniform2(Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")] + public static + void Uniform3(Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + void Uniform3(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + void Uniform3(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")] + public static + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + void Uniform3(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")] + public static + void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + void Uniform4(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + void Uniform4(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")] + public static + bool UnmapBuffer(OpenTK.Graphics.BufferTargetArb target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBufferARB((OpenTK.Graphics.BufferTargetArb)target); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] + public static + void UseProgramObject(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgramObjectARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] + public static + void UseProgramObject(Int32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgramObjectARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] + public static + void ValidateProgram(UInt32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramARB((UInt32)programObj); + #if DEBUG + } + #endif + } + + + /// + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] + public static + void ValidateProgram(Int32 programObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glValidateProgramARB((UInt32)programObj); #if DEBUG } #endif @@ -7798,10 +14990,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static - void VertexAttrib1(UInt32 index, Int16 x) + void VertexAttrib1(Int32 index, Int16 x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7827,9 +15018,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static - void VertexAttrib1(Int32 index, Int16 x) + void VertexAttrib1(UInt32 index, Int16 x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7970,10 +15162,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static - void VertexAttrib2(UInt32 index, Double[] v) + void VertexAttrib2(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8005,9 +15196,68 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static - void VertexAttrib2(Int32 index, Double[] v) + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(UInt32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8095,93 +15345,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] - public static - void VertexAttrib2(UInt32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -8224,90 +15387,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static - void VertexAttrib2(UInt32 index, Single[] v) + void VertexAttrib2(UInt32 index, Single x, Single y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } + Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); #if DEBUG } #endif @@ -8420,15 +15508,90 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static - void VertexAttrib2(UInt32 index, Int16 x, Int16 y) + void VertexAttrib2(UInt32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -8477,90 +15640,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static - void VertexAttrib2(UInt32 index, Int16[] v) + void VertexAttrib2(UInt32 index, Int16 x, Int16 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); #if DEBUG } #endif @@ -8673,15 +15761,90 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) + void VertexAttrib2(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -8730,90 +15893,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] public static - void VertexAttrib3(UInt32 index, Double[] v) + void VertexAttrib3(UInt32 index, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } + Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -8926,15 +16014,90 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + void VertexAttrib3(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -8969,6 +16132,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] + public static + void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -8985,7 +16177,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - void VertexAttrib3(UInt32 index, Single[] v) + void VertexAttrib3(UInt32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8993,7 +16185,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); } @@ -9054,7 +16246,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - void VertexAttrib3(UInt32 index, ref Single v) + void VertexAttrib3(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9062,7 +16254,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); } @@ -9123,7 +16315,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - unsafe void VertexAttrib3(UInt32 index, Single* v) + unsafe void VertexAttrib3(Int32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9152,7 +16344,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - unsafe void VertexAttrib3(Int32 index, Single* v) + unsafe void VertexAttrib3(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9165,35 +16357,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] - public static - void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -9236,90 +16399,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static - void VertexAttrib3(UInt32 index, Int16[] v) + void VertexAttrib3(UInt32 index, Int16 x, Int16 y, Int16 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); #if DEBUG } #endif @@ -9417,220 +16505,24 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static - void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] - public static - void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) + void VertexAttrib3(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9640,7 +16532,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); } } #if DEBUG @@ -9648,9 +16540,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static - void VertexAttrib4N(Int32 index, ref Int16 v) + void VertexAttrib3(UInt32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9658,9 +16565,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); } } #if DEBUG @@ -9668,69 +16575,23 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] - public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] - public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(UInt32 index, Byte[] v) + void VertexAttrib3(Int32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9738,9 +16599,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* v_ptr = v) + fixed (Int16* v_ptr = v) { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); } } #if DEBUG @@ -9748,211 +16609,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] - public static - void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] - public static - void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - /// /// Specifies the value of a generic vertex attribute @@ -9970,19 +16626,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static - void VertexAttrib4(UInt32 index, SByte[] v) + unsafe void VertexAttrib4(UInt32 index, SByte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); - } - } + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); #if DEBUG } #endif @@ -10040,13 +16690,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) + void VertexAttrib4(UInt32 index, SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v_ptr); + } + } #if DEBUG } #endif @@ -10126,19 +16782,42 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static - void VertexAttrib4(UInt32 index, Double[] v) + unsafe void VertexAttrib4(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + #if DEBUG } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -10264,13 +16943,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static - unsafe void VertexAttrib4(UInt32 index, Double* v) + void VertexAttrib4(UInt32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -10290,16 +16975,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static - unsafe void VertexAttrib4(Int32 index, Double* v) + void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -10348,15 +17032,79 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static - void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) + unsafe void VertexAttrib4(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + void VertexAttrib4(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -10467,202 +17215,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -10755,6 +17307,646 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + void VertexAttrib4N(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + void VertexAttrib4N(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] + public static + void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] + public static + void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + void VertexAttrib4N(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + void VertexAttrib4N(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + void VertexAttrib4N(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + void VertexAttrib4N(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + void VertexAttrib4N(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -10812,6 +18004,64 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -10964,15 +18214,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -10993,15 +18243,49 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static - unsafe void VertexAttrib4(Int32 index, Int16* v) + unsafe void VertexAttrib4(Int32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } #if DEBUG } #endif @@ -11112,98 +18396,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -11255,19 +18447,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static - void VertexAttrib4(UInt32 index, ref UInt32 v) + unsafe void VertexAttrib4(UInt32 index, UInt32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); - } - } + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); #if DEBUG } #endif @@ -11290,13 +18476,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) + void VertexAttrib4(UInt32 index, ref UInt32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v_ptr); + } + } #if DEBUG } #endif @@ -11354,19 +18546,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static - void VertexAttrib4(UInt32 index, ref UInt16 v) + unsafe void VertexAttrib4(UInt32 index, UInt16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); - } - } + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); #if DEBUG } #endif @@ -11389,110 +18575,48 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) + void VertexAttrib4(UInt32 index, ref UInt16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v_ptr); + } + } #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribDivisor(UInt32 index, UInt32 divisor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribDivisor(Int32 index, Int32 divisor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); #if DEBUG } #endif @@ -11557,293 +18681,6 @@ namespace OpenTK.Graphics } - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Define an array of generic vertex attribute data /// @@ -11902,6 +18739,236 @@ namespace OpenTK.Graphics } + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of generic vertex attribute data /// @@ -11960,23 +19027,48 @@ namespace OpenTK.Graphics /// - /// Enable or disable a generic vertex attribute array + /// Define an array of generic vertex attribute data /// /// /// - /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void EnableVertexAttribArray(UInt32 index) + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnableVertexAttribArrayARB((UInt32)index); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -11984,2389 +19076,42 @@ namespace OpenTK.Graphics /// - /// Enable or disable a generic vertex attribute array + /// Define an array of generic vertex attribute data /// /// /// - /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// Specifies the index of the generic vertex attribute to be modified. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArrayARB((UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] ref T3 @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [Out] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [Out] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [Out] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [Out] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4dvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fvARB")] - public static - unsafe void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4dvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramLocalParameter4fvARB")] - public static - unsafe void ProgramLocalParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] - public static - unsafe void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] - public static - void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramivARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] ref T2 @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[] @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// + /// /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// + /// /// - /// Returns the requested data. + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// + /// /// - /// Returns the requested data. + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// + /// /// - /// Specifies the generic vertex attribute parameter to be queried. + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. /// /// - /// + /// /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) - where T2 : struct + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14375,171 +19120,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -14552,4562 +19133,70 @@ namespace OpenTK.Graphics /// - /// Determines if a name corresponds to a program object + /// Define an array of generic vertex attribute data /// - /// - /// - /// Specifies a potential program object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramARB((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Determines if a name corresponds to a program object - /// - /// - /// - /// Specifies a potential program object. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgramARB((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] - public static - void BindBuffer(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] - public static - void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a buffer object - /// - /// - /// - /// Specifies a value that may be the name of a buffer object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBufferARB((UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a buffer object - /// - /// - /// - /// Specifies a value that may be the name of a buffer object. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBufferARB((UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage); - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageArb usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Map a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")] - public static - unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferARB((OpenTK.Graphics.BufferTargetArb)target, (OpenTK.Graphics.ArbVertexBufferObject)access); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")] - public static - bool UnmapBuffer(OpenTK.Graphics.BufferTargetArb target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBufferARB((OpenTK.Graphics.BufferTargetArb)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] - public static - void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] ref T2 @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a query object - /// - /// - /// - /// Specifies a value that may be the name of a query object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryARB((UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a query object - /// - /// - /// - /// Specifies a value that may be the name of a query object. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQueryARB((UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the boundaries of a query object - /// - /// - /// - /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] - public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the boundaries of a query object - /// - /// - /// - /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] - public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glEndQueryARB")] - public static - void EndQuery(OpenTK.Graphics.ArbOcclusionQuery target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] - public static - void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] - public static - void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] - public static - unsafe void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] - public static - void DeleteObject(UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteObjectARB((UInt32)obj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] - public static - void DeleteObject(Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteObjectARB((UInt32)obj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetHandleARB")] - public static - Int32 GetHandle(OpenTK.Graphics.ArbShaderObjects pname) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetHandleARB((OpenTK.Graphics.ArbShaderObjects)pname); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] - public static - void DetachObject(UInt32 containerObj, UInt32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] - public static - void DetachObject(Int32 containerObj, Int32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")] - public static - Int32 CreateShaderObject(OpenTK.Graphics.ArbShaderObjects shaderType) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.ArbShaderObjects)shaderType); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] - public static - unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] - public static - unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] - public static - void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Compiles a shader object - /// - /// - /// - /// Specifies the shader object to be compiled. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] - public static - void CompileShader(UInt32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderARB((UInt32)shaderObj); - #if DEBUG - } - #endif - } - - - /// - /// Compiles a shader object - /// - /// - /// - /// Specifies the shader object to be compiled. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] - public static - void CompileShader(Int32 shaderObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShaderARB((UInt32)shaderObj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")] - public static - Int32 CreateProgramObject() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgramObjectARB(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] - public static - void AttachObject(UInt32 containerObj, UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")] - public static - void AttachObject(Int32 containerObj, Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); - #if DEBUG - } - #endif - } - - - /// - /// Links a program object - /// - /// - /// - /// Specifies the handle of the program object to be linked. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] - public static - void LinkProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - - /// - /// Links a program object - /// - /// - /// - /// Specifies the handle of the program object to be linked. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] - public static - void LinkProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] - public static - void UseProgramObject(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramObjectARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUseProgramObjectARB")] - public static - void UseProgramObject(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgramObjectARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - - /// - /// Validates a program object - /// - /// - /// - /// Specifies the handle of the program object to be validated. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] - public static - void ValidateProgram(UInt32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - - /// - /// Validates a program object - /// - /// - /// - /// Specifies the handle of the program object to be validated. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] - public static - void ValidateProgram(Int32 programObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glValidateProgramARB((UInt32)programObj); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")] - public static - void Uniform1(Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fARB((Int32)location, (Single)v0); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")] - public static - void Uniform2(Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iARB((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] - public static - void Uniform1(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] - public static - void Uniform1(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] - public static - void Uniform2(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] - public static - void Uniform3(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] - public static - void Uniform3(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - void Uniform4(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - void Uniform4(Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] - public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] - public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] - public static - unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] - public static - unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] - public static - unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] - public static - void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] - public static - void GetInfoLog(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* obj_ptr = obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* obj_ptr = &obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] - public static - Int32 GetUniformLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] - public static - Int32 GetUniformLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// /// /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// Specifies the index of the generic vertex attribute to be modified. /// /// /// /// - /// Returns the size of the uniform variable. + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Returns the data type of the uniform variable. + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - /// + /// /// - /// Returns a null terminated string containing the name of the uniform variable. + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif } - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glVertexBlendARB")] public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + void VertexBlend(Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + Delegates.glVertexBlendARB((Int32)count); #if DEBUG } #endif } - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static - void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + void Weight(Int32 size, ref SByte weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19115,14 +19204,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + fixed (SByte* weights_ptr = &weights) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); } } #if DEBUG @@ -19130,48 +19214,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static - void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) + void Weight(Int32 size, SByte[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19179,14 +19225,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbShaderObjects* type_ptr = &type) + fixed (SByte* weights_ptr = weights) { - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbShaderObjects*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); } } #if DEBUG @@ -19194,29 +19235,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static - void GetUniform(UInt32 programObj, Int32 location, [Out] Single[] @params) + unsafe void Weight(Int32 size, SByte* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightbvARB((Int32)size, (SByte*)weights); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] + public static + void Weight(Int32 size, Double[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19224,9 +19260,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Double* weights_ptr = weights) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); } } #if DEBUG @@ -19234,28 +19270,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] public static - void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) + void Weight(Int32 size, ref Double weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19263,9 +19280,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Double* weights_ptr = &weights) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + Delegates.glWeightdvARB((Int32)size, (Double*)weights_ptr); } } #if DEBUG @@ -19273,29 +19290,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightdvARB")] public static - void GetUniform(UInt32 programObj, Int32 location, [Out] out Single @params) + unsafe void Weight(Int32 size, Double* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightdvARB((Int32)size, (Double*)weights); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + void Weight(Int32 size, ref Single weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19303,10 +19315,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* weights_ptr = &weights) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); } } #if DEBUG @@ -19314,28 +19325,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] public static - void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params) + unsafe void Weight(Int32 size, Single* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightfvARB((Int32)size, (Single*)weights); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + void Weight(Int32 size, Single[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19343,10 +19350,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* weights_ptr = weights) { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; + Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); } } #if DEBUG @@ -19354,97 +19360,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [Out] Int32[] @params) + void Weight(Int32 size, Int32[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19452,9 +19370,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* weights_ptr = weights) { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); } } #if DEBUG @@ -19462,28 +19380,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] public static - void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) + void Weight(Int32 size, ref Int32 weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19491,9 +19390,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* weights_ptr = &weights) { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + Delegates.glWeightivARB((Int32)size, (Int32*)weights_ptr); } } #if DEBUG @@ -19501,910 +19400,121 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] public static - void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) + unsafe void Weight(Int32 size, Int32* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glWeightivARB((Int32)size, (Int32*)weights); #if DEBUG } #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static - void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] - public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] - public static - unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] - public static - unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] - public static - void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] - public static - void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Associates a generic vertex attribute index with a named attribute variable - /// - /// - /// - /// Specifies the handle of the program object in which the association is to be made. - /// - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be bound. - /// - /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] - public static - void BindAttribLocation(UInt32 programObj, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Associates a generic vertex attribute index with a named attribute variable - /// - /// - /// - /// Specifies the handle of the program object in which the association is to be made. - /// - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be bound. - /// - /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] - public static - void BindAttribLocation(Int32 programObj, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of an attribute variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] - public static - Int32 GetAttribLocation(UInt32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of an attribute variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. - /// - /// - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] - public static - Int32 GetAttribLocation(Int32 programObj, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = bufs) - { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.ArbDrawBuffers bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.ArbDrawBuffers* bufs_ptr = &bufs) - { - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbColorBufferFloat", Version = "1.5", EntryPoint = "glClampColorARB")] - public static - void ClampColor(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClampColorARB((OpenTK.Graphics.ArbColorBufferFloat)target, (OpenTK.Graphics.ArbColorBufferFloat)clamp); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")] - public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + pointer_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + pointer_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + pointer_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + pointer_ptr.Free(); } #if DEBUG } @@ -20412,174 +19522,1064 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + unsafe void Weight(Int32 size, Int16* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + Delegates.glWeightsvARB((Int32)size, (Int16*)weights); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + void Weight(Int32 size, Int16[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.ArbGeometryShader4)pname, (Int32)value); + unsafe + { + fixed (Int16* weights_ptr = weights) + { + Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] + public static + void Weight(Int32 size, ref Int16 weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* weights_ptr = &weights) + { + Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + unsafe void Weight(Int32 size, Byte* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glWeightubvARB((Int32)size, (Byte*)weights); #if DEBUG } #endif } - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + void Weight(Int32 size, Byte[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + unsafe + { + fixed (Byte* weights_ptr = weights) + { + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + public static + void Weight(Int32 size, ref Byte weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* weights_ptr = &weights) + { + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void Weight(Int32 size, ref UInt32 weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG + unsafe + { + fixed (UInt32* weights_ptr = &weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } } - #endif - } - - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + unsafe void Weight(Int32 size, UInt32* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")] - public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) + void Weight(Int32 size, UInt32[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); - #if DEBUG + unsafe + { + fixed (UInt32* weights_ptr = weights) + { + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); + } } - #endif - } - - [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] - public static - void VertexAttribDivisor(Int32 index, Int32 divisor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer) + void Weight(Int32 size, ref UInt16 weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + unsafe + { + fixed (UInt16* weights_ptr = &weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, Int32 buffer) + void Weight(Int32 size, UInt16[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexBufferARB((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ArbTextureBufferObject)internalformat, (UInt32)buffer); + unsafe + { + fixed (UInt16* weights_ptr = weights) + { + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] + public static + unsafe void Weight(Int32 size, UInt16* weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] + public static + void WindowPos2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dARB((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + void WindowPos2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos2dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + void WindowPos2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos2dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] + public static + void WindowPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fARB((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + unsafe void WindowPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2fvARB((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + void WindowPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos2fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] + public static + void WindowPos2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2iARB((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + unsafe void WindowPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2ivARB((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + void WindowPos2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos2ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] + public static + void WindowPos2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2sARB((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + unsafe void WindowPos2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2svARB((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + void WindowPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos2svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] + public static + void WindowPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + void WindowPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dvARB((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] + public static + void WindowPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fvARB((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + void WindowPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos3fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] + public static + void WindowPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + unsafe void WindowPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3ivARB((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] + public static + void WindowPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + void WindowPos3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glWindowPos3svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3svARB((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + void WindowPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3svARB((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -20589,488 +20589,6 @@ namespace OpenTK.Graphics public static partial class Ati { - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] - public static - unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] - public static - void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = ¶m) - { - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] - public static - unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = ¶m) - { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = param) - { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* param_ptr = ¶m) - { - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); - param = *param_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] - public static - Int32 GenFragmentShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenFragmentShadersATI((UInt32)range); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] - public static - Int32 GenFragmentShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenFragmentShadersATI((UInt32)range); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] - public static - void BindFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] - public static - void BindFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] - public static - void DeleteFragmentShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] - public static - void DeleteFragmentShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFragmentShaderATI((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBeginFragmentShaderATI")] - public static - void BeginFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginFragmentShaderATI(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glEndFragmentShaderATI")] - public static - void EndFragmentShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndFragmentShaderATI(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] - public static - void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] - public static - void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] - public static - void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] - public static - void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] - public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] - public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] - public static - void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] - public static - void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] - public static - void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] - public static - void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] public static @@ -21158,673 +20676,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(UInt32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(Int32 dst, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(UInt32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - void SetFragmentShaderConstant(Int32 dst, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] - public static - unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesiATI")] - public static - void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPNTrianglesiATI((OpenTK.Graphics.AtiPnTriangles)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesfATI")] - public static - void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPNTrianglesfATI((OpenTK.Graphics.AtiPnTriangles)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)usage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] - public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] - public static - bool IsObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] - public static - bool IsObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] - public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] - public static - void FreeObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFreeObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] - public static - void FreeObjectBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFreeObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glArrayObjectATI")] public static @@ -21854,1609 +20705,44 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBeginFragmentShaderATI")] public static - unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + void BeginFragmentShader() { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] - public static - void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glBeginFragmentShaderATI(); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] public static - unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + void BindFragmentShader(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + Delegates.glBindFragmentShaderATI((UInt32)id); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glBindFragmentShaderATI")] public static - void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + void BindFragmentShader(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] - public static - void VariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] - public static - void VariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] - public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1sATI")] - public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1svATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1iATI")] - public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1ivATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fATI")] - public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fvATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dATI")] - public static - void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dvATI")] - public static - unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream1dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2sATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2iATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3sATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3iATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] - public static - unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4sATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4iATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] - public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref SByte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = &coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Byte coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = &coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3sATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = &coords) - { - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3iATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = coords) - { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* coords_ptr = &coords) - { - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = &coords) - { - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + Delegates.glBindFragmentShaderATI((UInt32)id); #if DEBUG } #endif @@ -23476,178 +20762,117 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnviATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] public static - void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Int32 param) + void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexBlendEnviATI((OpenTK.Graphics.AtiVertexStreams)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnvfATI")] - public static - void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.AtiVertexStreams)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayATI")] - public static - void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementArrayATI((OpenTK.Graphics.BeginMode)mode, (Int32)count); + Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count) + void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count) + void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp2ATI")] + public static + void ColorFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] + public static + void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] + public static + void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] + public static + void DeleteFragmentShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFragmentShaderATI((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] + public static + void DeleteFragmentShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFragmentShaderATI((UInt32)id); #if DEBUG } #endif @@ -23750,204 +20975,698 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayATI")] public static - unsafe IntPtr MapObjectBuffer(UInt32 buffer) + void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapObjectBufferATI((UInt32)buffer); + Delegates.glDrawElementArrayATI((OpenTK.Graphics.BeginMode)mode, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] public static - unsafe IntPtr MapObjectBuffer(Int32 buffer) + void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapObjectBufferATI((UInt32)buffer); + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glEndFragmentShaderATI")] + public static + void EndFragmentShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndFragmentShaderATI(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] + public static + void FreeObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFreeObjectBufferATI((UInt32)buffer); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] public static - void UnmapObjectBuffer(UInt32 buffer) + void FreeObjectBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUnmapObjectBufferATI((UInt32)buffer); + Delegates.glFreeObjectBufferATI((UInt32)buffer); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] public static - void UnmapObjectBuffer(Int32 buffer) + Int32 GenFragmentShaders(Int32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUnmapObjectBufferATI((UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back stencil test actions - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. - /// - /// - /// - /// - /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - /// - /// - /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] - public static - void StencilOpSeparate(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparateATI((OpenTK.Graphics.AtiSeparateStencil)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back function and reference value for stencil testing - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] - public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back function and reference value for stencil testing - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] - public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + return Delegates.glGenFragmentShadersATI((UInt32)range); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glGenFragmentShadersATI")] public static - void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + Int32 GenFragmentShaders(UInt32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + return Delegates.glGenFragmentShadersATI((UInt32)range); #if DEBUG } #endif } - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] public static - void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectfvATI")] + public static + void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + public static + unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] + public static + void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = ¶m) + { + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + param = *param_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] + public static + unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + unsafe void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + unsafe void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -23956,39 +21675,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - } - } + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); #if DEBUG } #endif @@ -24037,16 +21730,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -24068,9 +21766,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24078,29 +21776,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); } } #if DEBUG @@ -24166,6 +21844,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static @@ -24181,151 +21879,2333 @@ namespace OpenTK.Graphics #endif } - } - - - /// - /// Specify whether front- or back-facing facets can be culled - /// - /// - /// - /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glCullFace")] - public static - void CullFace(OpenTK.Graphics.CullFaceMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] + public static + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) { - #endif - Delegates.glCullFace((OpenTK.Graphics.CullFaceMode)mode); - #if DEBUG + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif } - #endif - } - - /// - /// Define front- and back-facing polygons - /// - /// - /// - /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFrontFace")] - public static - void FrontFace(OpenTK.Graphics.FrontFaceDirection mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] + public static + bool IsObjectBuffer(UInt32 buffer) { - #endif - Delegates.glFrontFace((OpenTK.Graphics.FrontFaceDirection)mode); - #if DEBUG + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif } - #endif - } - - /// - /// Specify implementation-specific hints - /// - /// - /// - /// Specifies a symbolic constant indicating the behavior to be controlled. GL_FOG_HINT, GL_GENERATE_MIPMAP_HINT, GL_LINE_SMOOTH_HINT, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. - /// - /// - /// - /// - /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glHint")] - public static - void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] + public static + bool IsObjectBuffer(Int32 buffer) { - #endif - Delegates.glHint((OpenTK.Graphics.HintTarget)target, (OpenTK.Graphics.HintMode)mode); - #if DEBUG + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif } - #endif - } - - /// - /// Specify the width of rasterized lines - /// - /// - /// - /// Specifies the width of rasterized lines. The initial value is 1. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLineWidth")] - public static - void LineWidth(Single width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + public static + unsafe IntPtr MapObjectBuffer(UInt32 buffer) { - #endif - Delegates.glLineWidth((Single)width); - #if DEBUG + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif } - #endif - } - - /// - /// Specify the diameter of rasterized points - /// - /// - /// - /// Specifies the diameter of rasterized points. The initial value is 1. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPointSize")] - public static - void PointSize(Single size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + public static + unsafe IntPtr MapObjectBuffer(Int32 buffer) { - #endif - Delegates.glPointSize((Single)size); - #if DEBUG + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif } - #endif - } - + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)usage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte nx, Byte ny, Byte nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref SByte coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = &coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Byte coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* coords_ptr = &coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3iATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3sATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + public static + void PassTexCoor(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] + public static + void PassTexCoor(Int32 dst, Int32 coord, OpenTK.Graphics.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesfATI")] + public static + void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPNTrianglesfATI((OpenTK.Graphics.AtiPnTriangles)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiPnTriangles", Version = "1.2", EntryPoint = "glPNTrianglesiATI")] + public static + void PNTriangles(OpenTK.Graphics.AtiPnTriangles pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPNTrianglesiATI((OpenTK.Graphics.AtiPnTriangles)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] + public static + void SampleMap(Int32 dst, Int32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSampleMapATI")] + public static + void SampleMap(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.AtiFragmentShader)swizzle); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(Int32 dst, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(UInt32 dst, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(UInt32 dst, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + void SetFragmentShaderConstant(Int32 dst, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] + public static + unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + #if DEBUG + } + #endif + } + + /// - /// Select a polygon rasterization mode + /// Set front and/or back function and reference value for stencil testing /// /// /// - /// Specifies the polygons that mode applies to. Must be GL_FRONT for front-facing polygons, GL_BACK for back-facing polygons, or GL_FRONT_AND_BACK for front- and back-facing polygons. + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. /// /// - /// + /// /// - /// Specifies how polygons will be rasterized. Accepted values are GL_POINT, GL_LINE, and GL_FILL. The initial value is GL_FILL for both front- and back-facing polygons. + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPolygonMode")] + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] + public static + void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] + public static + void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and/or back stencil test actions + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] + public static + void StencilOpSeparate(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOpSeparateATI((OpenTK.Graphics.AtiSeparateStencil)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = ¶m) + { + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, ref Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = ¶m) + { + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] + public static + void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + public static + void UnmapObjectBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + public static + void UnmapObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] + public static + void VariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glVariantArrayObjectATI")] + public static + void VariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] + public static + void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.AtiVertexAttribArrayObject)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnvfATI")] + public static + void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.AtiVertexStreams)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexBlendEnviATI")] + public static + void VertexBlendEnv(OpenTK.Graphics.AtiVertexStreams pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexBlendEnviATI((OpenTK.Graphics.AtiVertexStreams)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dATI")] + public static + void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1dvATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fATI")] + public static + void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1fvATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1iATI")] + public static + void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1ivATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1sATI")] + public static + void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream1svATI")] + public static + unsafe void VertexStream1(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream1svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2iATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2sATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3iATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3ivATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3sATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + unsafe void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4dATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = &coords) + { + Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4fATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4iATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4iATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = coords) + { + Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4ivATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* coords_ptr = &coords) + { + Delegates.glVertexStream4ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4sATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4sATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = &coords) + { + Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + } + + + /// + /// Operate on the accumulation buffer + /// + /// + /// + /// Specifies the accumulation buffer operation. Symbolic constants GL_ACCUM, GL_LOAD, GL_ADD, GL_MULT, and GL_RETURN are accepted. + /// + /// + /// + /// + /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAccum")] public static - void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode) + void Accum(OpenTK.Graphics.AccumOp op, Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPolygonMode((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.PolygonMode)mode); + Delegates.glAccum((OpenTK.Graphics.AccumOp)op, (Single)value); #if DEBUG } #endif @@ -24333,27 +24213,22 @@ namespace OpenTK.Graphics /// - /// Define the scissor box + /// Select active texture unit /// - /// + /// /// - /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. /// /// - /// - /// - /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glScissor")] + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glActiveTexture")] public static - void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + void ActiveTexture(OpenTK.Graphics.TextureUnit texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glActiveTexture((OpenTK.Graphics.TextureUnit)texture); #if DEBUG } #endif @@ -24361,32 +24236,27 @@ namespace OpenTK.Graphics /// - /// Set texture parameters + /// Specify the alpha test function /// - /// + /// /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. /// /// - /// + /// /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. /// /// - /// - /// - /// Specifies the value of pname. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterf")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAlphaFunc")] public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameterf((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + Delegates.glAlphaFunc((OpenTK.Graphics.AlphaFunction)func, (Single)@ref); #if DEBUG } #endif @@ -24394,26 +24264,95 @@ namespace OpenTK.Graphics /// - /// Set texture parameters + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Specifies the value of pname. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24421,9 +24360,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (UInt32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) { - Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; } } #if DEBUG @@ -24433,93 +24375,26 @@ namespace OpenTK.Graphics /// - /// Set texture parameters + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Specifies the value of pname. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set texture parameters - /// - /// - /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. - /// - /// - /// - /// - /// Specifies the value of pname. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteri")] - public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameteri((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Set texture parameters - /// - /// - /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. - /// - /// - /// - /// - /// Specifies the value of pname. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] - public static - void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24527,9 +24402,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) { - Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; } } #if DEBUG @@ -24539,33 +24417,40 @@ namespace OpenTK.Graphics /// - /// Set texture parameters + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Specifies the value of pname. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } #if DEBUG } #endif @@ -24573,57 +24458,39 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture image + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } #if DEBUG } #endif @@ -24631,66 +24498,22 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture image + /// Render a vertex using the specified vertex array element /// - /// + /// /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// Specifies an index into the enabled vertex data arrays. /// /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glArrayElement")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) - where T7 : struct + void ArrayElement(Int32 i) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glArrayElement((Int32)i); #if DEBUG } #endif @@ -24698,66 +24521,28 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture image + /// Attaches a shader object to a program object /// - /// + /// /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// Specifies the program object to which a shader object will be attached. /// /// - /// + /// /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// Specifies the shader object that is to be attached. /// /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) - where T7 : struct + void AttachShader(UInt32 program, UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glAttachShader((UInt32)program, (UInt32)shader); #if DEBUG } #endif @@ -24765,66 +24550,27 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture image + /// Attaches a shader object to a program object /// - /// + /// /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// Specifies the program object to which a shader object will be attached. /// /// - /// + /// /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// Specifies the shader object that is to be attached. /// /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) - where T7 : struct + void AttachShader(Int32 program, Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glAttachShader((UInt32)program, (UInt32)shader); #if DEBUG } #endif @@ -24832,440 +24578,1516 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] - public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify which color buffers are to be drawn into + /// Delimit the vertices of a primitive or a group of like primitives /// /// /// - /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1, are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.) The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts. + /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDrawBuffer")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBegin")] public static - void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode) + void Begin(OpenTK.Graphics.BeginMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + GraphicsContext.CurrentContext.EnterBeginRegion(); + #endif + Delegates.glBegin((OpenTK.Graphics.BeginMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] + public static + void BeginConditionalRender(Int32 id, OpenTK.Graphics.ConditionalRenderType mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawBuffer((OpenTK.Graphics.DrawBufferMode)mode); + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] + public static + void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitorAMD(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitorAMD(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] + public static + void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginTransformFeedback((OpenTK.Graphics.BeginFeedbackMode)primitiveMode); + #if DEBUG + } + #endif + } + + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(Int32 program, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(UInt32 program, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] + public static + void BindFragDataLocation(Int32 program, Int32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] + public static + void BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + + /// + /// Bind a named texture to a texturing target + /// + /// + /// + /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] + public static + unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + #if DEBUG + } + #endif + } + + + /// + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] + public static + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* bitmap_ptr = bitmap) + { + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] + public static + void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* bitmap_ptr = &bitmap) + { + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the blend color + /// + /// + /// + /// specify the components of GL_BLEND_COLOR + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendColor")] + public static + void BlendColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendEquation")] + public static + void BlendEquation(OpenTK.Graphics.BlendEquationMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquation((OpenTK.Graphics.BlendEquationMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] + public static + void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparate((OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunc((OpenTK.Graphics.BlendingFactorSrc)sfactor, (OpenTK.Graphics.BlendingFactorDest)dfactor); + #if DEBUG + } + #endif + } + + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] + public static + void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparate((OpenTK.Graphics.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.BlendingFactorDest)dfactorAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBlitFramebuffer")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage); + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Execute a display list + /// + /// + /// + /// Specifies the integer name of the display list to be executed. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] + public static + void CallList(UInt32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// + /// Execute a display list + /// + /// + /// + /// Specifies the integer name of the display list to be executed. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] + public static + void CallList(Int32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] ref T2 lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists); + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] + public static + OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClampColor")] + public static + void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClampColor((OpenTK.Graphics.ClampColorTarget)target, (OpenTK.Graphics.ClampColorMode)clamp); #if DEBUG } #endif @@ -25295,6 +26117,210 @@ namespace OpenTK.Graphics } + /// + /// Specify clear values for the accumulation buffer + /// + /// + /// + /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearAccum")] + public static + void ClearAccum(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfi")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferfi((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify clear values for the color buffers /// @@ -25318,29 +26344,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the clear value for the stencil buffer - /// - /// - /// - /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearStencil")] - public static - void ClearStencil(Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearStencil((Int32)s); - #if DEBUG - } - #endif - } - - /// /// Specify the clear value for the depth buffer /// @@ -25365,23 +26368,22 @@ namespace OpenTK.Graphics /// - /// Control the front and back writing of individual bits in the stencil planes + /// Specify the clear value for the color index buffers /// - /// + /// /// - /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// Specifies the index used when the color index buffers are cleared. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearIndex")] public static - void StencilMask(UInt32 mask) + void ClearIndex(Single c) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMask((UInt32)mask); + Delegates.glClearIndex((Single)c); #if DEBUG } #endif @@ -25389,22 +26391,2160 @@ namespace OpenTK.Graphics /// - /// Control the front and back writing of individual bits in the stencil planes + /// Specify the clear value for the stencil buffer /// - /// + /// /// - /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearStencil")] public static - void StencilMask(Int32 mask) + void ClearStencil(Int32 s) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilMask((UInt32)mask); + Delegates.glClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + + /// + /// Select active texture unit + /// + /// + /// + /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glClientActiveTexture")] + public static + void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientActiveTexture((OpenTK.Graphics.TextureUnit)texture); + #if DEBUG + } + #endif + } + + + /// + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] + public static + void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] + public static + unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); + #if DEBUG + } + #endif + } + + + /// + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] + public static + void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, ref Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3b")] + public static + void Color3(SByte red, SByte green, SByte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + unsafe void Color3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3d")] + public static + void Color3(Double red, Double green, Double blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3d((Double)red, (Double)green, (Double)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] + public static + void Color3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] + public static + unsafe void Color3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] + public static + void Color3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3f")] + public static + void Color3(Single red, Single green, Single blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3f((Single)red, (Single)green, (Single)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] + public static + void Color3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] + public static + unsafe void Color3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] + public static + void Color3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3i")] + public static + void Color3(Int32 red, Int32 green, Int32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] + public static + void Color3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] + public static + unsafe void Color3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] + public static + void Color3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3s")] + public static + void Color3(Int16 red, Int16 green, Int16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + void Color3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + unsafe void Color3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + void Color3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ub")] + public static + void Color3(Byte red, Byte green, Byte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + unsafe void Color3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + void Color3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + void Color3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ui")] + public static + void Color3(UInt32 red, UInt32 green, UInt32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + void Color3(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + void Color3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + unsafe void Color3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3us")] + public static + void Color3(UInt16 red, UInt16 green, UInt16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] + public static + unsafe void Color3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] + public static + void Color3(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] + public static + void Color3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4b")] + public static + void Color4(SByte red, SByte green, SByte blue, SByte alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] + public static + unsafe void Color4(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] + public static + void Color4(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glColor4bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] + public static + void Color4(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glColor4bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4d")] + public static + void Color4(Double red, Double green, Double blue, Double alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] + public static + void Color4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] + public static + void Color4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] + public static + unsafe void Color4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4f")] + public static + void Color4(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + unsafe void Color4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4i")] + public static + void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] + public static + void Color4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] + public static + unsafe void Color4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] + public static + void Color4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4s")] + public static + void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] + public static + void Color4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glColor4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] + public static + unsafe void Color4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] + public static + void Color4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ub")] + public static + void Color4(Byte red, Byte green, Byte blue, Byte alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + void Color4(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + unsafe void Color4(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] + public static + void Color4(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ui")] + public static + void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + void Color4(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + unsafe void Color4(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + void Color4(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glColor4uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4us")] + public static + void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] + public static + void Color4(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] + public static + unsafe void Color4(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] + public static + void Color4(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glColor4usv((UInt16*)v_ptr); + } + } #if DEBUG } #endif @@ -25434,6 +28574,5683 @@ namespace OpenTK.Graphics } + /// + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] + public static + void ColorMask(Int32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// + /// Enable and disable writing of frame buffer color components + /// + /// + /// + /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] + public static + void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// + /// Cause a material color to track the current color + /// + /// + /// + /// Specifies whether front, back, or both front and back material parameters should track the current color. Accepted values are GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. The initial value is GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColorMaterial")] + public static + void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaterial((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ColorMaterialParameter)mode); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] + public static + void CompileShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterf")] + public static + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterf((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] + public static + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteri")] + public static + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteri((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] + public static + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbCopyBuffer", Version = "3.0", EntryPoint = "glCopyBufferSubData")] + public static + void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyBufferSubData((OpenTK.Graphics.BufferTarget)readTarget, (OpenTK.Graphics.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorSubTable")] + public static + void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a color table + /// + /// + /// + /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. + /// + /// + /// + /// + /// The width of the pixel rectangle. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorTable")] + public static + void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] + public static + void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + /// + /// + /// The height of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] + public static + void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels in the frame buffer + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative. + /// + /// + /// + /// + /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCopyPixels")] + public static + void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelCopyType)type); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a 1D texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage1D")] + public static + void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a 2D texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// + /// Copy a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the texel offset within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] + public static + void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Copy a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Creates a program object + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateProgram")] + public static + Int32 CreateProgram() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateProgram(); + #if DEBUG + } + #endif + } + + + /// + /// Creates a shader object + /// + /// + /// + /// Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateShader")] + public static + Int32 CreateShader(OpenTK.Graphics.ShaderType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCreateShader((OpenTK.Graphics.ShaderType)type); + #if DEBUG + } + #endif + } + + + /// + /// Specify whether front- or back-facing facets can be culled + /// + /// + /// + /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.CullFaceMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullFace((OpenTK.Graphics.CullFaceMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete a contiguous group of display lists + /// + /// + /// + /// Specifies the integer name of the first display list to delete. + /// + /// + /// + /// + /// Specifies the number of display lists to delete. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] + public static + void DeleteLists(Int32 list, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteLists((UInt32)list, (Int32)range); + #if DEBUG + } + #endif + } + + + /// + /// Delete a contiguous group of display lists + /// + /// + /// + /// Specifies the integer name of the first display list to delete. + /// + /// + /// + /// + /// Specifies the number of display lists to delete. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] + public static + void DeleteLists(UInt32 list, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteLists((UInt32)list, (Int32)range); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a shader object + /// + /// + /// + /// Specifies the shader object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value used for depth buffer comparisons + /// + /// + /// + /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.DepthFunction func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthFunc((OpenTK.Graphics.DepthFunction)func); + #if DEBUG + } + #endif + } + + /// /// Enable or disable writing into the depth buffer /// @@ -25456,6 +34273,91 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthRange")] + public static + void DepthRange(Double near, Double far) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRange((Double)near, (Double)far); + #if DEBUG + } + #endif + } + + + /// + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Detaches a shader object from a program object to which it is attached + /// + /// + /// + /// Specifies the program object from which to detach the shader object. + /// + /// + /// + /// + /// Specifies the shader object to be detached. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] + public static + void DetachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDisable")] public static void Disable(OpenTK.Graphics.EnableCap cap) @@ -25470,6 +34372,1594 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")] + public static + void DisableClientState(OpenTK.Graphics.EnableCap array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientState((OpenTK.Graphics.EnableCap)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] + public static + void Disable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] + public static + void Disable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] + public static + void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Specify which color buffers are to be drawn into + /// + /// + /// + /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1, are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.) The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDrawBuffer")] + public static + void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffer((OpenTK.Graphics.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.DrawBuffersEnum bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = &bufs) + { + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = bufs) + { + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Flag edges as either boundary or nonboundary + /// + /// + /// + /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlag")] + public static + void EdgeFlag(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlag((bool)flag); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] + public static + void EdgeFlagv(ref bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* flag_ptr = &flag) + { + Delegates.glEdgeFlagv((bool*)flag_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] + public static + unsafe void EdgeFlagv(bool* flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEdgeFlagv((bool*)flag); + #if DEBUG + } + #endif + } + /// /// Enable or disable server-side GL capabilities @@ -25494,6 +35984,812 @@ namespace OpenTK.Graphics } + /// + /// Enable or disable client-side capability + /// + /// + /// + /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] + public static + void EnableClientState(OpenTK.Graphics.EnableCap array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientState((OpenTK.Graphics.EnableCap)array); + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] + public static + void Enable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] + public static + void Enable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEnd")] + public static + void End() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnd(); + #if DEBUG + GraphicsContext.CurrentContext.ExitBeginRegion(); + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndConditionalRender")] + public static + void EndConditionalRender() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndConditionalRender(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEndList")] + public static + void EndList() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndList(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitorAMD(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitorAMD(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glEndQuery")] + public static + void EndQuery(OpenTK.Graphics.QueryTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndQuery((OpenTK.Graphics.QueryTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndTransformFeedback")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedback(); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1d")] + public static + void EvalCoord1(Double u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1d((Double)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1dv")] + public static + unsafe void EvalCoord1(Double* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1dv((Double*)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1f")] + public static + void EvalCoord1(Single u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1f((Single)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1fv")] + public static + unsafe void EvalCoord1(Single* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord1fv((Single*)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2d")] + public static + void EvalCoord2(Double u, Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2d((Double)u, (Double)v); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + unsafe void EvalCoord2(Double* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2dv((Double*)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + void EvalCoord2(ref Double u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* u_ptr = &u) + { + Delegates.glEvalCoord2dv((Double*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + void EvalCoord2(Double[] u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* u_ptr = u) + { + Delegates.glEvalCoord2dv((Double*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2f")] + public static + void EvalCoord2(Single u, Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2f((Single)u, (Single)v); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + unsafe void EvalCoord2(Single* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2fv((Single*)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + void EvalCoord2(Single[] u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* u_ptr = u) + { + Delegates.glEvalCoord2fv((Single*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] + public static + void EvalCoord2(ref Single u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* u_ptr = &u) + { + Delegates.glEvalCoord2fv((Single*)u_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Compute a one- or two-dimensional grid of points or lines + /// + /// + /// + /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. + /// + /// + /// + /// + /// Specify the first and last integer values for grid domain variable . + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh1")] + public static + void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMesh1((OpenTK.Graphics.MeshMode1)mode, (Int32)i1, (Int32)i2); + #if DEBUG + } + #endif + } + + + /// + /// Compute a one- or two-dimensional grid of points or lines + /// + /// + /// + /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. + /// + /// + /// + /// + /// Specify the first and last integer values for grid domain variable . + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh2")] + public static + void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMesh2((OpenTK.Graphics.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); + #if DEBUG + } + #endif + } + + + /// + /// Generate and evaluate a single point in a mesh + /// + /// + /// + /// Specifies the integer value for grid domain variable . + /// + /// + /// + /// + /// Specifies the integer value for grid domain variable (glEvalPoint2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint1")] + public static + void EvalPoint1(Int32 i) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalPoint1((Int32)i); + #if DEBUG + } + #endif + } + + + /// + /// Generate and evaluate a single point in a mesh + /// + /// + /// + /// Specifies the integer value for grid domain variable . + /// + /// + /// + /// + /// Specifies the integer value for grid domain variable (glEvalPoint2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint2")] + public static + void EvalPoint2(Int32 i, Int32 j) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalPoint2((Int32)i, (Int32)j); + #if DEBUG + } + #endif + } + + + /// + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* buffer_ptr = buffer) + { + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Controls feedback mode + /// + /// + /// + /// Specifies the maximum number of values that can be written into buffer. + /// + /// + /// + /// + /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. + /// + /// + /// + /// + /// Returns the feedback data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] + public static + void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] out Single buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* buffer_ptr = &buffer) + { + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + /// /// Block until all GL execution is complete /// @@ -25529,29 +36825,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specify pixel arithmetic - /// - /// - /// - /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. - /// - /// - /// - /// - /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glBlendFunc")] + [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] public static - void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor) + void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendFunc((OpenTK.Graphics.BlendingFactorSrc)sfactor, (OpenTK.Graphics.BlendingFactorDest)dfactor); + Delegates.glFlushMappedBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length); #if DEBUG } #endif @@ -25559,22 +36841,22 @@ namespace OpenTK.Graphics /// - /// Specify a logical pixel operation for color index rendering + /// Set the current fog coordinates /// - /// + /// /// - /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. + /// Specify the fog distance. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLogicOp")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordd")] public static - void LogicOp(OpenTK.Graphics.LogicOp opcode) + void FogCoord(Double coord) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLogicOp((OpenTK.Graphics.LogicOp)opcode); + Delegates.glFogCoordd((Double)coord); #if DEBUG } #endif @@ -25582,33 +36864,23 @@ namespace OpenTK.Graphics /// - /// Set front and back function and reference value for stencil testing + /// Set the current fog coordinates /// - /// + /// /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// Specify the fog distance. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoorddv")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + unsafe void FogCoord(Double* coord) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + Delegates.glFogCoorddv((Double*)coord); #if DEBUG } #endif @@ -25616,32 +36888,22 @@ namespace OpenTK.Graphics /// - /// Set front and back function and reference value for stencil testing + /// Set the current fog coordinates /// - /// + /// /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// Specify the fog distance. /// /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordf")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + void FogCoord(Single coord) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + Delegates.glFogCoordf((Single)coord); #if DEBUG } #endif @@ -25649,32 +36911,23 @@ namespace OpenTK.Graphics /// - /// Set front and back stencil test actions + /// Set the current fog coordinates /// - /// + /// /// - /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// Specify the fog distance. /// /// - /// - /// - /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - /// - /// - /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilOp")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordfv")] public static - void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass) + unsafe void FogCoord(Single* coord) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glStencilOp((OpenTK.Graphics.StencilOp)fail, (OpenTK.Graphics.StencilOp)zfail, (OpenTK.Graphics.StencilOp)zpass); + Delegates.glFogCoordfv((Single*)coord); #if DEBUG } #endif @@ -25682,22 +36935,41 @@ namespace OpenTK.Graphics /// - /// Specify the value used for depth buffer comparisons + /// Define an array of fog coordinates /// - /// + /// /// - /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthFunc")] + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void DepthFunc(OpenTK.Graphics.DepthFunction func) + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthFunc((OpenTK.Graphics.DepthFunction)func); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -25705,27 +36977,186 @@ namespace OpenTK.Graphics /// - /// Set pixel storage modes + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Specify fog parameters /// /// /// - /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. /// /// /// /// - /// Specifies the value that pname is set to. + /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStoref")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogf")] public static - void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param) + void Fog(OpenTK.Graphics.FogParameter pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelStoref((OpenTK.Graphics.PixelStoreParameter)pname, (Single)param); + Delegates.glFogf((OpenTK.Graphics.FogParameter)pname, (Single)param); #if DEBUG } #endif @@ -25733,309 +37164,21 @@ namespace OpenTK.Graphics /// - /// Set pixel storage modes + /// Specify fog parameters /// /// /// - /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. /// /// /// /// - /// Specifies the value that pname is set to. + /// Specifies the value that pname will be set to. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStorei")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] public static - void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelStorei((OpenTK.Graphics.PixelStoreParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Select a color buffer source for pixels - /// - /// - /// - /// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadBuffer")] - public static - void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadBuffer((OpenTK.Graphics.ReadBufferMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Read a block of pixels from the frame buffer - /// - /// - /// - /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. - /// - /// - /// - /// - /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the pixel data. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Read a block of pixels from the frame buffer - /// - /// - /// - /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. - /// - /// - /// - /// - /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the pixel data. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Read a block of pixels from the frame buffer - /// - /// - /// - /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. - /// - /// - /// - /// - /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the pixel data. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Read a block of pixels from the frame buffer - /// - /// - /// - /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. - /// - /// - /// - /// - /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the pixel data. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Read a block of pixels from the frame buffer - /// - /// - /// - /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. - /// - /// - /// - /// - /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the pixel data. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] - public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double[] @params) + void Fog(OpenTK.Graphics.FogParameter pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26043,9 +37186,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* @params_ptr = @params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr); + Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -26053,6 +37196,4452 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] + public static + unsafe void Fog(OpenTK.Graphics.FogParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogi")] + public static + void Fog(OpenTK.Graphics.FogParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogi((OpenTK.Graphics.FogParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] + public static + void Fog(OpenTK.Graphics.FogParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify fog parameters + /// + /// + /// + /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] + public static + unsafe void Fog(OpenTK.Graphics.FogParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + public static + void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + public static + void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + + /// + /// Define front- and back-facing polygons + /// + /// + /// + /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.FrontFaceDirection mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrontFace((OpenTK.Graphics.FrontFaceDirection)mode); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix by a perspective matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFrustum")] + public static + void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [Out] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenerateMipmap")] + public static + void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmap((OpenTK.Graphics.GenerateMipmapTarget)target); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate a contiguous set of empty display lists + /// + /// + /// + /// Specifies the number of contiguous empty display lists to be generated. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGenLists")] + public static + Int32 GenLists(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenLists((Int32)range); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitorsAMD(Int32 n, [Out] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [Out] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [Out] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [Out] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [Out] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [Out] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [Out] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [Out] out Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) + { + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] + public static + unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* obj_ptr = obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* obj_ptr = obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of an attribute variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a buffer object + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. + /// + /// + /// + /// + /// Returns the requested parameter. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); + #if DEBUG + } + #endif + } + + + /// + /// Return the coefficients of the specified clipping plane + /// + /// + /// + /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. + /// + /// + /// + /// + /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] + public static + void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] out Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + equation = *equation_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] public static void GetDouble(OpenTK.Graphics.GetPName pname, [Out] out Double @params) @@ -26074,16 +41663,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] public static - unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params) + void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params); + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params_ptr); + } + } #if DEBUG } #endif @@ -26100,26 +41694,6 @@ namespace OpenTK.Graphics return Delegates.glGetError(); } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static void GetFloat(OpenTK.Graphics.GetPName pname, [Out] out Single @params) @@ -26156,9 +41730,94 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static - void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32[] @params) + void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -26168,7 +41827,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -26176,6 +41835,612 @@ namespace OpenTK.Graphics #endif } + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] + public static + void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] + public static + void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static void GetInteger(OpenTK.Graphics.GetPName pname, [Out] out Int32 @params) @@ -26197,16 +42462,4991 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static - unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params) + void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] + public static + void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] + public static + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); + v = *v_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] + public static + void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCountersAMD(Int32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out Int32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (Int32* counters_ptr = &counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + numCounters = *numCounters_ptr; + maxActiveCounters = *maxActiveCounters_ptr; + counters = *counters_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCountersAMD(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (UInt32* counters_ptr = &counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + numCounters = *numCounters_ptr; + maxActiveCounters = *maxActiveCounters_ptr; + counters = *counters_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out UInt32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (UInt32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (Int32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = &values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + void GetPolygonStipple([Out] Byte[] mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = mask) + { + Delegates.glGetPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + unsafe void GetPolygonStipple([Out] Byte* mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPolygonStipple((Byte*)mask); + #if DEBUG + } + #endif + } + + + /// + /// Return the polygon stipple pattern + /// + /// + /// + /// Returns the stipple pattern. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] + public static + void GetPolygonStipple([Out] out Byte mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glGetPolygonStipple((Byte*)mask_ptr); + mask = *mask_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + unsafe void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object target + /// + /// + /// + /// Specifies a query object target. Must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); #if DEBUG } #endif @@ -26236,6 +47476,618 @@ namespace OpenTK.Graphics } + /// + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. + /// + /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] + public static + string GetString(OpenTK.Graphics.StringName name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); + #if DEBUG + } + #endif + } + + + /// + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] + public static + string GetString(OpenTK.Graphics.StringName name, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + /// /// Return a texture image /// @@ -26279,6 +48131,58 @@ namespace OpenTK.Graphics } + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Return a texture image /// @@ -26383,58 +48287,6 @@ namespace OpenTK.Graphics } - /// - /// Return a texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the texture image. Should be a pointer to an array of the type specified by type. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Return a texture image /// @@ -26487,232 +48339,6 @@ namespace OpenTK.Graphics } - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] - public static - unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// /// Return texture parameter values for a specific level of detail /// @@ -26908,22 +48534,16 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static - void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -26953,16 +48573,22 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static - unsafe void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -26970,22 +48596,33 @@ namespace OpenTK.Graphics /// - /// Test whether a capability is enabled + /// Return texture parameter values /// - /// + /// /// - /// Specifies a symbolic constant indicating a GL capability. + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glIsEnabled")] + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static - bool IsEnabled(OpenTK.Graphics.EnableCap cap) + unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsEnabled((OpenTK.Graphics.EnableCap)cap); + Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -26993,27 +48630,39 @@ namespace OpenTK.Graphics /// - /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// Return texture parameter values /// - /// + /// /// - /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. /// /// - /// + /// /// - /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthRange")] + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static - void DepthRange(Double near, Double far) + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDepthRange((Double)near, (Double)far); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -27021,27 +48670,152 @@ namespace OpenTK.Graphics /// - /// Set the viewport + /// Return texture parameter values /// - /// + /// /// - /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. /// /// - /// + /// /// - /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glViewport")] + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static - void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -27049,28 +48823,2193 @@ namespace OpenTK.Graphics /// - /// Create or replace a display list + /// Return texture parameter values /// - /// + /// /// - /// Specifies the display-list name. + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] Int32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] out Int32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] UInt32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] out UInt32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] UInt32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] Int32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns the location of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_FOG_HINT, GL_GENERATE_MIPMAP_HINT, GL_LINE_SMOOTH_HINT, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. /// /// /// /// - /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glHint")] public static - void NewList(UInt32 list, OpenTK.Graphics.ListMode mode) + void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); + Delegates.glHint((OpenTK.Graphics.HintTarget)target, (OpenTK.Graphics.HintMode)mode); #if DEBUG } #endif @@ -27078,2659 +51017,38 @@ namespace OpenTK.Graphics /// - /// Create or replace a display list + /// Define histogram table /// - /// + /// /// - /// Specifies the display-list name. + /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. /// /// - /// - /// - /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] - public static - void NewList(Int32 list, OpenTK.Graphics.ListMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEndList")] - public static - void EndList() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndList(); - #if DEBUG - } - #endif - } - - - /// - /// Execute a display list - /// - /// - /// - /// Specifies the integer name of the display list to be executed. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] - public static - void CallList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallList((UInt32)list); - #if DEBUG - } - #endif - } - - - /// - /// Execute a display list - /// - /// - /// - /// Specifies the integer name of the display list to be executed. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] - public static - void CallList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallList((UInt32)list); - #if DEBUG - } - #endif - } - - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists); - #if DEBUG - } - #endif - } - - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] ref T2 lists) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[] lists) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,] lists) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Delete a contiguous group of display lists - /// - /// - /// - /// Specifies the integer name of the first display list to delete. - /// - /// - /// - /// - /// Specifies the number of display lists to delete. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] - public static - void DeleteLists(UInt32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteLists((UInt32)list, (Int32)range); - #if DEBUG - } - #endif - } - - - /// - /// Delete a contiguous group of display lists - /// - /// - /// - /// Specifies the integer name of the first display list to delete. - /// - /// - /// - /// - /// Specifies the number of display lists to delete. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] - public static - void DeleteLists(Int32 list, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteLists((UInt32)list, (Int32)range); - #if DEBUG - } - #endif - } - - - /// - /// Generate a contiguous set of empty display lists - /// - /// - /// - /// Specifies the number of contiguous empty display lists to be generated. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGenLists")] - public static - Int32 GenLists(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenLists((Int32)range); - #if DEBUG - } - #endif - } - - - /// - /// Set the display-list base for glCallLists - /// - /// - /// - /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] - public static - void ListBase(UInt32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListBase((UInt32)@base); - #if DEBUG - } - #endif - } - - - /// - /// Set the display-list base for glCallLists - /// - /// - /// - /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] - public static - void ListBase(Int32 @base) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListBase((UInt32)@base); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the vertices of a primitive or a group of like primitives - /// - /// - /// - /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBegin")] - public static - void Begin(OpenTK.Graphics.BeginMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - GraphicsContext.CurrentContext.EnterBeginRegion(); - #endif - Delegates.glBegin((OpenTK.Graphics.BeginMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Draw a bitmap - /// /// /// - /// Specify the pixel width and height of the bitmap image. + /// The number of entries in the histogram table. Must be a power of 2. /// /// - /// + /// /// - /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. /// /// - /// + /// /// - /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// - /// - /// - /// Specifies the address of the bitmap image. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] - public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = bitmap) - { - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Draw a bitmap - /// - /// - /// - /// Specify the pixel width and height of the bitmap image. - /// - /// - /// - /// - /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. - /// - /// - /// - /// - /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. - /// - /// - /// - /// - /// Specifies the address of the bitmap image. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] - public static - void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* bitmap_ptr = &bitmap) - { - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Draw a bitmap - /// - /// - /// - /// Specify the pixel width and height of the bitmap image. - /// - /// - /// - /// - /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. - /// - /// - /// - /// - /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. - /// - /// - /// - /// - /// Specifies the address of the bitmap image. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] - public static - unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3b")] - public static - void Color3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - unsafe void Color3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3d")] - public static - void Color3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3d((Double)red, (Double)green, (Double)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] - public static - void Color3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] - public static - void Color3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] - public static - unsafe void Color3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3f")] - public static - void Color3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3f((Single)red, (Single)green, (Single)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] - public static - void Color3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] - public static - void Color3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] - public static - unsafe void Color3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3i")] - public static - void Color3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] - public static - void Color3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] - public static - void Color3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] - public static - unsafe void Color3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3s")] - public static - void Color3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - void Color3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - void Color3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - unsafe void Color3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ub")] - public static - void Color3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - void Color3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - void Color3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - unsafe void Color3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ubv((Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ui")] - public static - void Color3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - void Color3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - void Color3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - unsafe void Color3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3us")] - public static - void Color3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] - public static - void Color3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] - public static - void Color3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] - public static - unsafe void Color3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3usv((UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4b")] - public static - void Color4(SByte red, SByte green, SByte blue, SByte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] - public static - void Color4(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] - public static - void Color4(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glColor4bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] - public static - unsafe void Color4(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4d")] - public static - void Color4(Double red, Double green, Double blue, Double alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] - public static - void Color4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] - public static - void Color4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] - public static - unsafe void Color4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4f")] - public static - void Color4(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - unsafe void Color4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4i")] - public static - void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] - public static - void Color4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] - public static - void Color4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] - public static - unsafe void Color4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4s")] - public static - void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] - public static - void Color4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] - public static - void Color4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] - public static - unsafe void Color4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ub")] - public static - void Color4(Byte red, Byte green, Byte blue, Byte alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - void Color4(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - void Color4(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] - public static - unsafe void Color4(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubv((Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ui")] - public static - void Color4(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - void Color4(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glColor4uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - void Color4(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glColor4uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - unsafe void Color4(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4us")] - public static - void Color4(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] - public static - void Color4(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glColor4usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] - public static - void Color4(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glColor4usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] - public static - unsafe void Color4(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4usv((UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Flag edges as either boundary or nonboundary - /// - /// - /// - /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlag")] - public static - void EdgeFlag(bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlag((bool)flag); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static - unsafe void EdgeFlagv(bool* flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagv((bool*)flag); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] - public static - void EdgeFlagv(ref bool flag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* flag_ptr = &flag) - { - Delegates.glEdgeFlagv((bool*)flag_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEnd")] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glHistogram")] public static - void End() + void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEnd(); + Delegates.glHistogram((OpenTK.Graphics.Version12Deprecated)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); #if DEBUG - GraphicsContext.CurrentContext.ExitBeginRegion(); } #endif } @@ -29895,6 +51213,254 @@ namespace OpenTK.Graphics } + /// + /// Control the writing of individual bits in the color index buffers + /// + /// + /// + /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] + public static + void IndexMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Control the writing of individual bits in the color index buffers + /// + /// + /// + /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] + public static + void IndexMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Set the current color index /// @@ -29948,6 +51514,5860 @@ namespace OpenTK.Graphics } + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexub")] + public static + void Index(Byte c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexub((Byte)c); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexubv")] + public static + unsafe void Index(Byte* c) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexubv((Byte*)c); + #if DEBUG + } + #endif + } + + + /// + /// Initialize the name stack + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glInitNames")] + public static + void InitNames() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInitNames(); + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glIsEnabled")] + public static + bool IsEnabled(OpenTK.Graphics.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabled((OpenTK.Graphics.EnableCap)cap); + #if DEBUG + } + #endif + } + + + /// + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] + public static + bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] + public static + bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a display list + /// + /// + /// + /// Specifies a potential display list name. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] + public static + bool IsList(Int32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a display list + /// + /// + /// + /// Specifies a potential display list name. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] + public static + bool IsList(UInt32 list) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsList((UInt32)list); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] + public static + bool IsQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] + public static + bool IsQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightf")] + public static + void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightf((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] + public static + unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] + public static + void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLighti")] + public static + void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLighti((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] + public static + void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set light source parameters + /// + /// + /// + /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. + /// + /// + /// + /// + /// Specifies the value that parameter pname of light source light will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] + public static + unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelf")] + public static + void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelf((OpenTK.Graphics.LightModelParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] + public static + void LightModel(OpenTK.Graphics.LightModelParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeli")] + public static + void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModeli((OpenTK.Graphics.LightModelParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] + public static + unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set the lighting model parameters + /// + /// + /// + /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// + /// + /// + /// + /// Specifies the value that param will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] + public static + void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the line stipple pattern + /// + /// + /// + /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. + /// + /// + /// + /// + /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] + public static + void LineStipple(Int32 factor, UInt16 pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + #if DEBUG + } + #endif + } + + + /// + /// Specify the line stipple pattern + /// + /// + /// + /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. + /// + /// + /// + /// + /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] + public static + void LineStipple(Int32 factor, Int16 pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + #if DEBUG + } + #endif + } + + + /// + /// Specify the width of rasterized lines + /// + /// + /// + /// Specifies the width of rasterized lines. The initial value is 1. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLineWidth((Single)width); + #if DEBUG + } + #endif + } + + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Set the display-list base for glCallLists + /// + /// + /// + /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] + public static + void ListBase(Int32 @base) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListBase((UInt32)@base); + #if DEBUG + } + #endif + } + + + /// + /// Set the display-list base for glCallLists + /// + /// + /// + /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] + public static + void ListBase(UInt32 @base) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListBase((UInt32)@base); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the identity matrix + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadIdentity")] + public static + void LoadIdentity() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentity(); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + void LoadMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glLoadMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + unsafe void LoadMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] + public static + void LoadMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + unsafe void LoadMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Load a name onto the name stack + /// + /// + /// + /// Specifies a name that will replace the top value on the name stack. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] + public static + void LoadName(UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// + /// Load a name onto the name stack + /// + /// + /// + /// Specifies a name that will replace the top value on the name stack. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] + public static + void LoadName(Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + void LoadTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + unsafe void LoadTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + void LoadTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + unsafe void LoadTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Specify a logical pixel operation for color index rendering + /// + /// + /// + /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLogicOp")] + public static + void LogicOp(OpenTK.Graphics.LogicOp opcode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLogicOp((OpenTK.Graphics.LogicOp)opcode); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] + public static + unsafe void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] + public static + void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] + public static + void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] + public static + unsafe void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] + public static + void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] + public static + void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] + public static + unsafe void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] + public static + void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] + public static + void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] + public static + unsafe void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + + /// + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glMapBuffer")] + public static + unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBuffer((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferAccess)access); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glMapBufferRange")] + public static + unsafe IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.BufferAccessMask)access); + #if DEBUG + } + #endif + } + + + /// + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1d")] + public static + void MapGrid1(Int32 un, Double u1, Double u2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); + #if DEBUG + } + #endif + } + + + /// + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1f")] + public static + void MapGrid1(Int32 un, Single u1, Single u2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); + #if DEBUG + } + #endif + } + + + /// + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2d")] + public static + void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); + #if DEBUG + } + #endif + } + + + /// + /// Define a one- or two-dimensional mesh + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values i = 0 and i = un. + /// + /// + /// + /// + /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). + /// + /// + /// + /// + /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2f")] + public static + void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialf")] + public static + void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialf((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] + public static + unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMateriali")] + public static + void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMateriali((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] + public static + void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify material parameters for the lighting model + /// + /// + /// + /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// + /// + /// + /// + /// Specifies the value that parameter GL_SHININESS will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] + public static + unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify which matrix is the current matrix + /// + /// + /// + /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMatrixMode")] + public static + void MatrixMode(OpenTK.Graphics.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMode((OpenTK.Graphics.MatrixMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Define minmax table + /// + /// + /// + /// The minmax table whose parameters are to be set. Must be GL_MINMAX. + /// + /// + /// + /// + /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glMinmax")] + public static + void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinmax((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + first = *first_ptr; + count = *count_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1d((OpenTK.Graphics.TextureUnit)target, (Double)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1f((OpenTK.Graphics.TextureUnit)target, (Single)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1i((OpenTK.Graphics.TextureUnit)target, (Int32)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] + public static + void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1s((OpenTK.Graphics.TextureUnit)target, (Int16)s); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] + public static + unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + void MultMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + unsafe void MultMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + void MultMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + unsafe void MultMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + void MultTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMultTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] + public static + unsafe void MultTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + void MultTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMultTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + unsafe void MultTransposeMatrix(Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultTransposeMatrixf((Single*)m); + #if DEBUG + } + #endif + } + + + /// + /// Create or replace a display list + /// + /// + /// + /// Specifies the display-list name. + /// + /// + /// + /// + /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] + public static + void NewList(UInt32 list, OpenTK.Graphics.ListMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Create or replace a display list + /// + /// + /// + /// Specifies the display-list name. + /// + /// + /// + /// + /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] + public static + void NewList(Int32 list, OpenTK.Graphics.ListMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNewList((UInt32)list, (OpenTK.Graphics.ListMode)mode); + #if DEBUG + } + #endif + } + + /// /// Set the current normal vector /// @@ -30001,6 +57421,125 @@ namespace OpenTK.Graphics } + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Set the current normal vector /// @@ -30066,125 +57605,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current normal vector /// @@ -30224,7 +57644,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static - void Normal3(Double[] v) + void Normal3(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -30232,7 +57652,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glNormal3dv((Double*)v_ptr); } @@ -30256,7 +57676,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static - void Normal3(ref Double v) + void Normal3(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -30264,7 +57684,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glNormal3dv((Double*)v_ptr); } @@ -30328,6 +57748,33 @@ namespace OpenTK.Graphics } + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + unsafe void Normal3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fv((Single*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current normal vector /// @@ -30392,33 +57839,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - unsafe void Normal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fv((Single*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current normal vector /// @@ -30653,6 +58073,1737 @@ namespace OpenTK.Graphics } + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with an orthographic matrix + /// + /// + /// + /// Specify the coordinates for the left and right vertical clipping planes. + /// + /// + /// + /// + /// Specify the coordinates for the bottom and top horizontal clipping planes. + /// + /// + /// + /// + /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glOrtho")] + public static + void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + + /// + /// Place a marker in the feedback buffer + /// + /// + /// + /// Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPassThrough")] + public static + void PassThrough(Single token) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPassThrough((Single)token); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* values_ptr = &values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = &values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* values_ptr = values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStoref")] + public static + void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStoref((OpenTK.Graphics.PixelStoreParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Set pixel storage modes + /// + /// + /// + /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelStorei((OpenTK.Graphics.PixelStoreParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Set pixel transfer modes + /// + /// + /// + /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. + /// + /// + /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferf")] + public static + void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransferf((OpenTK.Graphics.PixelTransferParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Set pixel transfer modes + /// + /// + /// + /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. + /// + /// + /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. + /// + /// + /// + /// + /// Specifies the value that pname is set to. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferi")] + public static + void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransferi((OpenTK.Graphics.PixelTransferParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify the pixel zoom factors + /// + /// + /// + /// Specify the and zoom factors for pixel write operations. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelZoom")] + public static + void PixelZoom(Single xfactor, Single yfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterf")] + public static + void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterf((OpenTK.Graphics.PointParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + void PointParameter(OpenTK.Graphics.PointParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteri")] + public static + void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteri((OpenTK.Graphics.PointParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] + public static + void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] + public static + unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify the diameter of rasterized points + /// + /// + /// + /// Specifies the diameter of rasterized points. The initial value is 1. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPointSize")] + public static + void PointSize(Single size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointSize((Single)size); + #if DEBUG + } + #endif + } + + + /// + /// Select a polygon rasterization mode + /// + /// + /// + /// Specifies the polygons that mode applies to. Must be GL_FRONT for front-facing polygons, GL_BACK for back-facing polygons, or GL_FRONT_AND_BACK for front- and back-facing polygons. + /// + /// + /// + /// + /// Specifies how polygons will be rasterized. Accepted values are GL_POINT, GL_LINE, and GL_FILL. The initial value is GL_FILL for both front- and back-facing polygons. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPolygonMode")] + public static + void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonMode((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.PolygonMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + + /// + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + unsafe void PolygonStipple(Byte* mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonStipple((Byte*)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + void PolygonStipple(ref Byte mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = &mask) + { + Delegates.glPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the polygon stippling pattern + /// + /// + /// + /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] + public static + void PolygonStipple(Byte[] mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* mask_ptr = mask) + { + Delegates.glPolygonStipple((Byte*)mask_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopAttrib")] + public static + void PopAttrib() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopAttrib(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPopClientAttrib")] + public static + void PopClientAttrib() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopClientAttrib(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopMatrix")] + public static + void PopMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopMatrix(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopName")] + public static + void PopName() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPopName(); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] + public static + void PrimitiveRestartIndex(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndex((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] + public static + void PrimitiveRestartIndex(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndex((UInt32)index); + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Push and pop the server attribute stack + /// + /// + /// + /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushAttrib")] + public static + void PushAttrib(OpenTK.Graphics.AttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushAttrib((OpenTK.Graphics.AttribMask)mask); + #if DEBUG + } + #endif + } + + + /// + /// Push and pop the client attribute stack + /// + /// + /// + /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPushClientAttrib")] + public static + void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushClientAttrib((OpenTK.Graphics.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + + /// + /// Push and pop the current matrix stack + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushMatrix")] + public static + void PushMatrix() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushMatrix(); + #if DEBUG + } + #endif + } + + + /// + /// Push and pop the name stack + /// + /// + /// + /// Specifies a name that will be pushed onto the name stack. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] + public static + void PushName(Int32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushName((UInt32)name); + #if DEBUG + } + #endif + } + + + /// + /// Push and pop the name stack + /// + /// + /// + /// Specifies a name that will be pushed onto the name stack. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] + public static + void PushName(UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushName((UInt32)name); + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -30676,6 +59827,30 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + unsafe void RasterPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -30734,30 +59909,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - unsafe void RasterPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2dv((Double*)v); - #if DEBUG - } - #endif - } - - /// /// Specify the raster position for pixel operations /// @@ -30810,6 +59961,30 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + unsafe void RasterPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2fv((Single*)v); + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -30839,30 +60014,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - unsafe void RasterPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2fv((Single*)v); - #if DEBUG - } - #endif - } - - /// /// Specify the raster position for pixel operations /// @@ -30894,21 +60045,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static - void RasterPos2(Int32[] v) + unsafe void RasterPos2(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos2iv((Int32*)v_ptr); - } - } + Delegates.glRasterPos2iv((Int32*)v); #if DEBUG } #endif @@ -30952,16 +60098,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static - unsafe void RasterPos2(Int32* v) + void RasterPos2(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos2iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos2iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -31001,7 +60152,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static - void RasterPos2(Int16[] v) + void RasterPos2(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31009,7 +60160,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glRasterPos2sv((Int16*)v_ptr); } @@ -31030,7 +60181,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static - void RasterPos2(ref Int16 v) + void RasterPos2(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31038,7 +60189,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glRasterPos2sv((Int16*)v_ptr); } @@ -31104,21 +60255,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static - void RasterPos3(Double[] v) + unsafe void RasterPos3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos3dv((Double*)v_ptr); - } - } + Delegates.glRasterPos3dv((Double*)v); #if DEBUG } #endif @@ -31162,16 +60308,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static - unsafe void RasterPos3(Double* v) + void RasterPos3(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos3dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -31209,21 +60360,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static - void RasterPos3(Single[] v) + unsafe void RasterPos3(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos3fv((Single*)v_ptr); - } - } + Delegates.glRasterPos3fv((Single*)v); #if DEBUG } #endif @@ -31267,16 +60413,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static - unsafe void RasterPos3(Single* v) + void RasterPos3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3fv((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos3fv((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -31306,6 +60457,30 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] + public static + unsafe void RasterPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3iv((Int32*)v); + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -31364,30 +60539,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static - unsafe void RasterPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// /// Specify the raster position for pixel operations /// @@ -31419,21 +60570,16 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static - void RasterPos3(Int16[] v) + unsafe void RasterPos3(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glRasterPos3sv((Int16*)v_ptr); - } - } + Delegates.glRasterPos3sv((Int16*)v); #if DEBUG } #endif @@ -31477,16 +60623,21 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static - unsafe void RasterPos3(Int16* v) + void RasterPos3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos3sv((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glRasterPos3sv((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -31516,35 +60667,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] - public static - void RasterPos4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specify the raster position for pixel operations /// @@ -31598,6 +60720,35 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] + public static + void RasterPos4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -31726,35 +60877,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - void RasterPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specify the raster position for pixel operations /// @@ -31808,6 +60930,35 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + void RasterPos4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -31860,6 +61011,30 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + unsafe void RasterPos4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// /// Specify the raster position for pixel operations /// @@ -31890,23 +61065,273 @@ namespace OpenTK.Graphics /// - /// Specify the raster position for pixel operations + /// Select a color buffer source for pixels /// - /// + /// /// - /// Specify the , , , and object coordinates (if present) for the raster position. + /// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadBuffer")] public static - unsafe void RasterPos4(Int16* v) + void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRasterPos4sv((Int16*)v); + Delegates.glReadBuffer((OpenTK.Graphics.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Read a block of pixels from the frame buffer + /// + /// + /// + /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. + /// + /// + /// + /// + /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -31956,7 +61381,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static - void Rect(Double[] v1, Double[] v2) + void Rect(ref Double v1, ref Double v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31964,8 +61389,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v1_ptr = v1) - fixed (Double* v2_ptr = v2) + fixed (Double* v1_ptr = &v1) + fixed (Double* v2_ptr = &v2) { Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); } @@ -31991,7 +61416,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static - void Rect(ref Double v1, ref Double v2) + void Rect(Double[] v1, Double[] v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -31999,8 +61424,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v1_ptr = &v1) - fixed (Double* v2_ptr = &v2) + fixed (Double* v1_ptr = v1) + fixed (Double* v2_ptr = v2) { Delegates.glRectdv((Double*)v1_ptr, (Double*)v2_ptr); } @@ -32116,22 +61541,16 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] public static - void Rect(ref Single v1, ref Single v2) + unsafe void Rect(Single* v1, Single* v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v1_ptr = &v1) - fixed (Single* v2_ptr = &v2) - { - Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); - } - } + Delegates.glRectfv((Single*)v1, (Single*)v2); #if DEBUG } #endif @@ -32151,16 +61570,22 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] public static - unsafe void Rect(Single* v1, Single* v2) + void Rect(ref Single v1, ref Single v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRectfv((Single*)v1, (Single*)v2); + unsafe + { + fixed (Single* v1_ptr = &v1) + fixed (Single* v2_ptr = &v2) + { + Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); + } + } #if DEBUG } #endif @@ -32243,22 +61668,16 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static - void Rect(ref Int32 v1, ref Int32 v2) + unsafe void Rect(Int32* v1, Int32* v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v1_ptr = &v1) - fixed (Int32* v2_ptr = &v2) - { - Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); - } - } + Delegates.glRectiv((Int32*)v1, (Int32*)v2); #if DEBUG } #endif @@ -32278,16 +61697,22 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static - unsafe void Rect(Int32* v1, Int32* v2) + void Rect(ref Int32 v1, ref Int32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRectiv((Int32*)v1, (Int32*)v2); + unsafe + { + fixed (Int32* v1_ptr = &v1) + fixed (Int32* v2_ptr = &v2) + { + Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); + } + } #if DEBUG } #endif @@ -32321,22 +61746,16 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - void Rect(Int16[] v1, Int16[] v2) + unsafe void Rect(Int16* v1, Int16* v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v1_ptr = v1) - fixed (Int16* v2_ptr = v2) - { - Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); - } - } + Delegates.glRectsv((Int16*)v1, (Int16*)v2); #if DEBUG } #endif @@ -32391,16 +61810,2836 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - unsafe void Rect(Int16* v1, Int16* v2) + void Rect(Int16[] v1, Int16[] v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRectsv((Int16*)v1, (Int16*)v2); + unsafe + { + fixed (Int16* v1_ptr = v1) + fixed (Int16* v2_ptr = v2) + { + Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorage")] + public static + void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorage((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Set rasterization mode + /// + /// + /// + /// Specifies the rasterization mode. Three values are accepted: GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is GL_RENDER. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRenderMode")] + public static + Int32 RenderMode(OpenTK.Graphics.RenderingMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glRenderMode((OpenTK.Graphics.RenderingMode)mode); + #if DEBUG + } + #endif + } + + + /// + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetHistogram")] + public static + void ResetHistogram(OpenTK.Graphics.Version12Deprecated target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogram((OpenTK.Graphics.Version12Deprecated)target); + #if DEBUG + } + #endif + } + + + /// + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetMinmax")] + public static + void ResetMinmax(OpenTK.Graphics.Version12Deprecated target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetMinmax((OpenTK.Graphics.Version12Deprecated)target); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotated")] + public static + void Rotate(Double angle, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix by a rotation matrix + /// + /// + /// + /// Specifies the angle of rotation, in degrees. + /// + /// + /// + /// + /// Specify the x, y, and z coordinates of a vector, respectively. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotatef")] + public static + void Rotate(Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify multisample coverage parameters + /// + /// + /// + /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. + /// + /// + /// + /// + /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScaled")] + public static + void Scale(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScaled((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScalef")] + public static + void Scale(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScalef((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Define the scissor box + /// + /// + /// + /// Specify the lower left corner of the scissor box. Initially (0, 0). + /// + /// + /// + /// + /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3b")] + public static + void SecondaryColor3(SByte red, SByte green, SByte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3d")] + public static + void SecondaryColor3(Double red, Double green, Double blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + void SecondaryColor3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + void SecondaryColor3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + unsafe void SecondaryColor3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3f")] + public static + void SecondaryColor3(Single red, Single green, Single blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + void SecondaryColor3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glSecondaryColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] + public static + void SecondaryColor3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glSecondaryColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3i")] + public static + void SecondaryColor3(Int32 red, Int32 green, Int32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + void SecondaryColor3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + unsafe void SecondaryColor3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] + public static + void SecondaryColor3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3s")] + public static + void SecondaryColor3(Int16 red, Int16 green, Int16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + void SecondaryColor3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glSecondaryColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + void SecondaryColor3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] + public static + void SecondaryColor3(Byte red, Byte green, Byte blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + unsafe void SecondaryColor3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ubv((Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + void SecondaryColor3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] + public static + void SecondaryColor3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glSecondaryColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] + public static + void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + unsafe void SecondaryColor3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + void SecondaryColor3(ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + void SecondaryColor3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3us")] + public static + void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + unsafe void SecondaryColor3(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + void SecondaryColor3(ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + void SecondaryColor3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] out UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffer_ptr = &buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] out Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = &buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] Int32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] UInt32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffer_ptr = buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* counterList_ptr = counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* counterList_ptr = counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* counterList_ptr = &counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] out Int32 counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* counterList_ptr = &counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Select flat or smooth shading + /// + /// + /// + /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glShadeModel")] + public static + void ShadeModel(OpenTK.Graphics.ShadingModel mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShadeModel((OpenTK.Graphics.ShadingModel)mode); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and back function and reference value for stencil testing + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFunc((OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Control the front and back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Control the front and/or back writing of individual bits in the stencil planes + /// + /// + /// + /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + + /// + /// Set front and back stencil test actions + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOp((OpenTK.Graphics.StencilOp)fail, (OpenTK.Graphics.StencilOp)zfail, (OpenTK.Graphics.StencilOp)zpass); + #if DEBUG + } + #endif + } + + + /// + /// Set front and/or back stencil test actions + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + /// + /// + /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilOpSeparate")] + public static + void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilOpSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] + public static + void TessellationFactorAMD(Single factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationFactorAMD((Single)factor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] + public static + void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationModeAMD((OpenTK.Graphics.AmdVertexShaderTesselator)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] + public static + void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] + public static + void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -32618,6 +64857,30 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + unsafe void TexCoord2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2dv((Double*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current texture coordinates /// @@ -32676,30 +64939,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - unsafe void TexCoord2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2dv((Double*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current texture coordinates /// @@ -32828,6 +65067,30 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + unsafe void TexCoord2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2iv((Int32*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current texture coordinates /// @@ -32886,30 +65149,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - unsafe void TexCoord2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current texture coordinates /// @@ -32933,35 +65172,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - void TexCoord2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Set the current texture coordinates /// @@ -33023,15 +65233,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3d")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static - void TexCoord3(Double s, Double t, Double r) + void TexCoord2(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord2sv((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -33046,21 +65262,15 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3d")] public static - void TexCoord3(Double[] v) + void TexCoord3(Double s, Double t, Double r) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord3dv((Double*)v_ptr); - } - } + Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); #if DEBUG } #endif @@ -33120,6 +65330,35 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + void TexCoord3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Set the current texture coordinates /// @@ -33153,7 +65392,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static - void TexCoord3(Single[] v) + void TexCoord3(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33161,7 +65400,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glTexCoord3fv((Single*)v_ptr); } @@ -33182,7 +65421,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static - void TexCoord3(ref Single v) + void TexCoord3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33190,7 +65429,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glTexCoord3fv((Single*)v_ptr); } @@ -33256,21 +65495,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static - void TexCoord3(Int32[] v) + unsafe void TexCoord3(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord3iv((Int32*)v_ptr); - } - } + Delegates.glTexCoord3iv((Int32*)v); #if DEBUG } #endif @@ -33314,16 +65548,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static - unsafe void TexCoord3(Int32* v) + void TexCoord3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord3iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord3iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -33361,21 +65600,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static - void TexCoord3(Int16[] v) + unsafe void TexCoord3(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord3sv((Int16*)v_ptr); - } - } + Delegates.glTexCoord3sv((Int16*)v); #if DEBUG } #endif @@ -33419,16 +65653,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static - unsafe void TexCoord3(Int16* v) + void TexCoord3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord3sv((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord3sv((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -33466,21 +65705,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static - void TexCoord4(Double[] v) + unsafe void TexCoord4(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord4dv((Double*)v_ptr); - } - } + Delegates.glTexCoord4dv((Double*)v); #if DEBUG } #endif @@ -33524,16 +65758,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static - unsafe void TexCoord4(Double* v) + void TexCoord4(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord4dv((Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord4dv((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -33571,21 +65810,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static - void TexCoord4(Single[] v) + unsafe void TexCoord4(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fv((Single*)v_ptr); - } - } + Delegates.glTexCoord4fv((Single*)v); #if DEBUG } #endif @@ -33629,16 +65863,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static - unsafe void TexCoord4(Single* v) + void TexCoord4(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord4fv((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fv((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -33676,21 +65915,16 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static - void TexCoord4(Int32[] v) + unsafe void TexCoord4(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord4iv((Int32*)v_ptr); - } - } + Delegates.glTexCoord4iv((Int32*)v); #if DEBUG } #endif @@ -33734,16 +65968,21 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static - unsafe void TexCoord4(Int32* v) + void TexCoord4(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord4iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord4iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -33773,35 +66012,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - void TexCoord4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTexCoord4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Set the current texture coordinates /// @@ -33831,6 +66041,35 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + void TexCoord4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTexCoord4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Set the current texture coordinates /// @@ -33856,1897 +66095,46 @@ namespace OpenTK.Graphics /// - /// Specify a vertex + /// Define an array of texture coordinates /// - /// + /// /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2d")] - public static - void Vertex2(Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2d((Double)x, (Double)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - void Vertex2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - void Vertex2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - unsafe void Vertex2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2f")] - public static - void Vertex2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2f((Single)x, (Single)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - void Vertex2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - void Vertex2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - unsafe void Vertex2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2i")] - public static - void Vertex2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2i((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - void Vertex2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - void Vertex2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - unsafe void Vertex2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2s")] - public static - void Vertex2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2s((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - void Vertex2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - void Vertex2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] - public static - unsafe void Vertex2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3d")] - public static - void Vertex3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3d((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - void Vertex3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - void Vertex3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - unsafe void Vertex3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3f")] - public static - void Vertex3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3f((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - void Vertex3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - void Vertex3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] - public static - unsafe void Vertex3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3i")] - public static - void Vertex3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - void Vertex3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - void Vertex3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - unsafe void Vertex3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3s")] - public static - void Vertex3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - void Vertex3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - void Vertex3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - unsafe void Vertex3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4d")] - public static - void Vertex4(Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - void Vertex4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertex4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - void Vertex4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - unsafe void Vertex4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4f")] - public static - void Vertex4(Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - void Vertex4(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - void Vertex4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertex4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - unsafe void Vertex4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4i")] - public static - void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - void Vertex4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertex4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - void Vertex4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - unsafe void Vertex4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4s")] - public static - void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - unsafe void Vertex4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a plane against which all geometry is clipped - /// - /// - /// - /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] - public static - void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a plane against which all geometry is clipped - /// - /// - /// - /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] - public static - void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a plane against which all geometry is clipped - /// - /// - /// - /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] - public static - unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } - - - /// - /// Cause a material color to track the current color - /// - /// - /// - /// Specifies whether front, back, or both front and back material parameters should track the current color. Accepted values are GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. The initial value is GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColorMaterial")] - public static - void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaterial((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ColorMaterialParameter)mode); - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogf")] - public static - void Fog(OpenTK.Graphics.FogParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogf((OpenTK.Graphics.FogParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] - public static - void Fog(OpenTK.Graphics.FogParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] - public static - unsafe void Fog(OpenTK.Graphics.FogParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogi")] - public static - void Fog(OpenTK.Graphics.FogParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogi((OpenTK.Graphics.FogParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] - public static - void Fog(OpenTK.Graphics.FogParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify fog parameters - /// - /// - /// - /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] - public static - unsafe void Fog(OpenTK.Graphics.FogParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogiv((OpenTK.Graphics.FogParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// - /// - /// Specifies the value that parameter pname of light source light will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightf")] - public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightf((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// - /// - /// Specifies the value that parameter pname of light source light will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] - public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// - /// - /// Specifies the value that parameter pname of light source light will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] - public static - unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// - /// - /// Specifies the value that parameter pname of light source light will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLighti")] - public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLighti((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// - /// - /// Specifies the value that parameter pname of light source light will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] - public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set light source parameters - /// - /// - /// - /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted. - /// - /// - /// + /// /// - /// Specifies the value that parameter pname of light source light will be set to. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] - public static - unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set the lighting model parameters - /// - /// - /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. - /// - /// - /// - /// - /// Specifies the value that param will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelf")] - public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModelf((OpenTK.Graphics.LightModelParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Set the lighting model parameters - /// - /// + /// /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - /// + /// /// - /// Specifies the value that param will be set to. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Single[] @params) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - fixed (Single* @params_ptr = @params) - { - Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } - #endif - } - - - /// - /// Set the lighting model parameters - /// - /// - /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. - /// - /// - /// - /// - /// Specifies the value that param will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] - public static - unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params); - #if DEBUG + pointer_ptr.Free(); } - #endif - } - - - /// - /// Set the lighting model parameters - /// - /// - /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. - /// - /// - /// - /// - /// Specifies the value that param will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeli")] - public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightModeli((OpenTK.Graphics.LightModelParameter)pname, (Int32)param); #if DEBUG } #endif @@ -35754,119 +66142,46 @@ namespace OpenTK.Graphics /// - /// Set the lighting model parameters + /// Define an array of texture coordinates /// - /// + /// /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// + /// /// - /// Specifies the value that param will be set to. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] - public static - void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the lighting model parameters - /// - /// + /// /// - /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - /// + /// /// - /// Specifies the value that param will be set to. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - unsafe void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32* @params) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightModeliv((OpenTK.Graphics.LightModelParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify the line stipple pattern - /// - /// - /// - /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. - /// - /// - /// - /// - /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] - public static - void LineStipple(Int32 factor, UInt16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - #endif - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); - #if DEBUG + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } - #endif - } - - - /// - /// Specify the line stipple pattern - /// - /// - /// - /// Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, each bit in the pattern is used three times before the next bit in the pattern is used. factor is clamped to the range [1, 256] and defaults to 1. - /// - /// - /// - /// - /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] - public static - void LineStipple(Int32 factor, Int16 pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -35874,105 +66189,46 @@ namespace OpenTK.Graphics /// - /// Specify material parameters for the lighting model + /// Define an array of texture coordinates /// - /// - /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. - /// - /// - /// + /// /// - /// Specifies the value that parameter GL_SHININESS will be set to. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialf")] - public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialf((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify material parameters for the lighting model - /// - /// + /// /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - /// + /// /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - /// + /// /// - /// Specifies the value that parameter GL_SHININESS will be set to. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - fixed (Single* @params_ptr = @params) - { - Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } - #endif - } - - - /// - /// Specify material parameters for the lighting model - /// - /// - /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. - /// - /// - /// - /// - /// Specifies the value that parameter GL_SHININESS will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] - public static - unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -35980,71 +66236,37 @@ namespace OpenTK.Graphics /// - /// Specify material parameters for the lighting model + /// Define an array of texture coordinates /// - /// - /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - /// - /// - /// + /// /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// - /// - /// Specifies the value that parameter GL_SHININESS will be set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMateriali")] - public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMateriali((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify material parameters for the lighting model - /// - /// + /// /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - /// + /// /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - /// + /// /// - /// Specifies the value that parameter GL_SHININESS will be set to. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -36052,138 +66274,46 @@ namespace OpenTK.Graphics /// - /// Specify material parameters for the lighting model + /// Define an array of texture coordinates /// - /// - /// - /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - /// - /// - /// + /// /// - /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// + /// /// - /// Specifies the value that parameter GL_SHININESS will be set to. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] - public static - unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set the polygon stippling pattern - /// - /// + /// /// - /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static - void PolygonStipple(Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - Delegates.glPolygonStipple((Byte*)mask_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the polygon stippling pattern - /// - /// + /// /// - /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void PolygonStipple(ref Byte mask) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - fixed (Byte* mask_ptr = &mask) - { - Delegates.glPolygonStipple((Byte*)mask_ptr); - } + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } - #if DEBUG - } - #endif - } - - - /// - /// Set the polygon stippling pattern - /// - /// - /// - /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] - public static - unsafe void PolygonStipple(Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glPolygonStipple((Byte*)mask); - #if DEBUG + pointer_ptr.Free(); } - #endif - } - - - /// - /// Select flat or smooth shading - /// - /// - /// - /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glShadeModel")] - public static - void ShadeModel(OpenTK.Graphics.ShadingModel mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShadeModel((OpenTK.Graphics.ShadingModel)mode); #if DEBUG } #endif @@ -36473,21 +66603,16 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) + unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } + Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); #if DEBUG } #endif @@ -36512,16 +66637,21 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) + void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } #if DEBUG } #endif @@ -36685,21 +66815,16 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static - void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) + unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -36724,3117 +66849,9 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Controls feedback mode - /// - /// - /// - /// Specifies the maximum number of values that can be written into buffer. - /// - /// - /// - /// - /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. - /// - /// - /// - /// - /// Returns the feedback data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* buffer_ptr = buffer) - { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Controls feedback mode - /// - /// - /// - /// Specifies the maximum number of values that can be written into buffer. - /// - /// - /// - /// - /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. - /// - /// - /// - /// - /// Returns the feedback data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] out Single buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* buffer_ptr = &buffer) - { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Controls feedback mode - /// - /// - /// - /// Specifies the maximum number of values that can be written into buffer. - /// - /// - /// - /// - /// Specifies a symbolic constant that describes the information that will be returned for each vertex. GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, and GL_4D_COLOR_TEXTURE are accepted. - /// - /// - /// - /// - /// Returns the feedback data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] - public static - unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [Out] UInt32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [Out] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [Out] out UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffer_ptr = &buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - void SelectBuffer(Int32 size, [Out] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Set rasterization mode - /// - /// - /// - /// Specifies the rasterization mode. Three values are accepted: GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is GL_RENDER. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRenderMode")] - public static - Int32 RenderMode(OpenTK.Graphics.RenderingMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glRenderMode((OpenTK.Graphics.RenderingMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Initialize the name stack - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glInitNames")] - public static - void InitNames() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInitNames(); - #if DEBUG - } - #endif - } - - - /// - /// Load a name onto the name stack - /// - /// - /// - /// Specifies a name that will replace the top value on the name stack. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] - public static - void LoadName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadName((UInt32)name); - #if DEBUG - } - #endif - } - - - /// - /// Load a name onto the name stack - /// - /// - /// - /// Specifies a name that will replace the top value on the name stack. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] - public static - void LoadName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadName((UInt32)name); - #if DEBUG - } - #endif - } - - - /// - /// Place a marker in the feedback buffer - /// - /// - /// - /// Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPassThrough")] - public static - void PassThrough(Single token) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPassThrough((Single)token); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopName")] - public static - void PopName() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopName(); - #if DEBUG - } - #endif - } - - - /// - /// Push and pop the name stack - /// - /// - /// - /// Specifies a name that will be pushed onto the name stack. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] - public static - void PushName(UInt32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushName((UInt32)name); - #if DEBUG - } - #endif - } - - - /// - /// Push and pop the name stack - /// - /// - /// - /// Specifies a name that will be pushed onto the name stack. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] - public static - void PushName(Int32 name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushName((UInt32)name); - #if DEBUG - } - #endif - } - - - /// - /// Specify clear values for the accumulation buffer - /// - /// - /// - /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearAccum")] - public static - void ClearAccum(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Specify the clear value for the color index buffers - /// - /// - /// - /// Specifies the index used when the color index buffers are cleared. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearIndex")] - public static - void ClearIndex(Single c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearIndex((Single)c); - #if DEBUG - } - #endif - } - - - /// - /// Control the writing of individual bits in the color index buffers - /// - /// - /// - /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] - public static - void IndexMask(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexMask((UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Control the writing of individual bits in the color index buffers - /// - /// - /// - /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] - public static - void IndexMask(Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexMask((UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Operate on the accumulation buffer - /// - /// - /// - /// Specifies the accumulation buffer operation. Symbolic constants GL_ACCUM, GL_LOAD, GL_ADD, GL_MULT, and GL_RETURN are accepted. - /// - /// - /// - /// - /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAccum")] - public static - void Accum(OpenTK.Graphics.AccumOp op, Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAccum((OpenTK.Graphics.AccumOp)op, (Single)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopAttrib")] - public static - void PopAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopAttrib(); - #if DEBUG - } - #endif - } - - - /// - /// Push and pop the server attribute stack - /// - /// - /// - /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushAttrib")] - public static - void PushAttrib(OpenTK.Graphics.AttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushAttrib((OpenTK.Graphics.AttribMask)mask); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] - public static - unsafe void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] - public static - unsafe void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] - public static - unsafe void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] - public static - unsafe void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - #if DEBUG - } - #endif - } - - - /// - /// Define a one- or two-dimensional mesh - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values i = 0 and i = un. - /// - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1d")] - public static - void MapGrid1(Int32 un, Double u1, Double u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); - #if DEBUG - } - #endif - } - - - /// - /// Define a one- or two-dimensional mesh - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values i = 0 and i = un. - /// - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1f")] - public static - void MapGrid1(Int32 un, Single u1, Single u2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); - #if DEBUG - } - #endif - } - - - /// - /// Define a one- or two-dimensional mesh - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values i = 0 and i = un. - /// - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2d")] - public static - void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); - #if DEBUG - } - #endif - } - - - /// - /// Define a one- or two-dimensional mesh - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values i = 0 and i = un. - /// - /// - /// - /// - /// Specifies the number of partitions in the grid range interval [v1, v2] (glMapGrid2 only). - /// - /// - /// - /// - /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2f")] - public static - void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1d")] - public static - void EvalCoord1(Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1d((Double)u); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1dv")] - public static - unsafe void EvalCoord1(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1dv((Double*)u); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1f")] - public static - void EvalCoord1(Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1f((Single)u); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1fv")] - public static - unsafe void EvalCoord1(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord1fv((Single*)u); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2d")] - public static - void EvalCoord2(Double u, Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2d((Double)u, (Double)v); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - void EvalCoord2(Double[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = u) - { - Delegates.glEvalCoord2dv((Double*)u_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - void EvalCoord2(ref Double u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* u_ptr = &u) - { - Delegates.glEvalCoord2dv((Double*)u_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - unsafe void EvalCoord2(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2dv((Double*)u); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2f")] - public static - void EvalCoord2(Single u, Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2f((Single)u, (Single)v); - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - void EvalCoord2(Single[] u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = u) - { - Delegates.glEvalCoord2fv((Single*)u_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - void EvalCoord2(ref Single u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* u_ptr = &u) - { - Delegates.glEvalCoord2fv((Single*)u_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] - public static - unsafe void EvalCoord2(Single* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2fv((Single*)u); - #if DEBUG - } - #endif - } - - - /// - /// Compute a one- or two-dimensional grid of points or lines - /// - /// - /// - /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. - /// - /// - /// - /// - /// Specify the first and last integer values for grid domain variable . - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh1")] - public static - void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMesh1((OpenTK.Graphics.MeshMode1)mode, (Int32)i1, (Int32)i2); - #if DEBUG - } - #endif - } - - - /// - /// Generate and evaluate a single point in a mesh - /// - /// - /// - /// Specifies the integer value for grid domain variable . - /// - /// - /// - /// - /// Specifies the integer value for grid domain variable (glEvalPoint2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint1")] - public static - void EvalPoint1(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalPoint1((Int32)i); - #if DEBUG - } - #endif - } - - - /// - /// Compute a one- or two-dimensional grid of points or lines - /// - /// - /// - /// In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and GL_LINE are accepted. - /// - /// - /// - /// - /// Specify the first and last integer values for grid domain variable . - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh2")] - public static - void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMesh2((OpenTK.Graphics.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); - #if DEBUG - } - #endif - } - - - /// - /// Generate and evaluate a single point in a mesh - /// - /// - /// - /// Specifies the integer value for grid domain variable . - /// - /// - /// - /// - /// Specifies the integer value for grid domain variable (glEvalPoint2 only). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint2")] - public static - void EvalPoint2(Int32 i, Int32 j) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalPoint2((Int32)i, (Int32)j); - #if DEBUG - } - #endif - } - - - /// - /// Specify the alpha test function - /// - /// - /// - /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAlphaFunc")] - public static - void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFunc((OpenTK.Graphics.AlphaFunction)func, (Single)@ref); - #if DEBUG - } - #endif - } - - - /// - /// Specify the pixel zoom factors - /// - /// - /// - /// Specify the and zoom factors for pixel write operations. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelZoom")] - public static - void PixelZoom(Single xfactor, Single yfactor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); - #if DEBUG - } - #endif - } - - - /// - /// Set pixel transfer modes - /// - /// - /// - /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. - /// - /// - /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. - /// - /// - /// - /// - /// Specifies the value that pname is set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferf")] - public static - void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferf((OpenTK.Graphics.PixelTransferParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Set pixel transfer modes - /// - /// - /// - /// Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, or GL_DEPTH_BIAS. - /// - /// - /// Additionally, if the ARB_imaging extension is supported, the following symbolic names are accepted: GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE, GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE, GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS, GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE, GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE, GL_POST_CONVOLUTION_ALPHA_SCALE, GL_POST_CONVOLUTION_RED_BIAS, GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS, and GL_POST_CONVOLUTION_ALPHA_BIAS. - /// - /// - /// - /// - /// Specifies the value that pname is set to. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferi")] - public static - void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTransferi((OpenTK.Graphics.PixelTransferParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels in the frame buffer - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specify the dimensions of the rectangular region of pixels to be copied. Both must be nonnegative. - /// - /// - /// - /// - /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCopyPixels")] - public static - void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelCopyType)type); - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] - public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the coefficients of the specified clipping plane - /// - /// - /// - /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. - /// - /// - /// - /// - /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the coefficients of the specified clipping plane - /// - /// - /// - /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. - /// - /// - /// - /// - /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] out Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - equation = *equation_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the coefficients of the specified clipping plane - /// - /// - /// - /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1. - /// - /// - /// - /// - /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] - public static - unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } - - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params) + void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39844,7 +66861,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + Delegates.glTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -39854,2917 +66871,11 @@ namespace OpenTK.Graphics /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] - public static - unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters + /// Specify a one-dimensional texture image /// /// /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] - public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); - v = *v_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] - public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = values) - { - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* values_ptr = &values) - { - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the polygon stipple pattern - /// - /// - /// - /// Returns the stipple pattern. The initial value is all 1's. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - void GetPolygonStipple([Out] Byte[] mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = mask) - { - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the polygon stipple pattern - /// - /// - /// - /// Returns the stipple pattern. The initial value is all 1's. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - void GetPolygonStipple([Out] out Byte mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* mask_ptr = &mask) - { - Delegates.glGetPolygonStipple((Byte*)mask_ptr); - mask = *mask_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the polygon stipple pattern - /// - /// - /// - /// Returns the stipple pattern. The initial value is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] - public static - unsafe void GetPolygonStipple([Out] Byte* mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPolygonStipple((Byte*)mask); - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] - public static - unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] - public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a display list - /// - /// - /// - /// Specifies a potential display list name. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] - public static - bool IsList(UInt32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsList((UInt32)list); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a display list - /// - /// - /// - /// Specifies a potential display list name. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] - public static - bool IsList(Int32 list) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsList((UInt32)list); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a perspective matrix - /// - /// - /// - /// Specify the coordinates for the left and right vertical clipping planes. - /// - /// - /// - /// - /// Specify the coordinates for the bottom and top horizontal clipping planes. - /// - /// - /// - /// - /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFrustum")] - public static - void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the identity matrix - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadIdentity")] - public static - void LoadIdentity() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadIdentity(); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - unsafe void LoadMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixf((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - void LoadMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - void LoadMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] - public static - unsafe void LoadMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Specify which matrix is the current matrix - /// - /// - /// - /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMatrixMode")] - public static - void MatrixMode(OpenTK.Graphics.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMode((OpenTK.Graphics.MatrixMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - unsafe void MultMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixf((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - void MultMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - void MultMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - unsafe void MultMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with an orthographic matrix - /// - /// - /// - /// Specify the coordinates for the left and right vertical clipping planes. - /// - /// - /// - /// - /// Specify the coordinates for the bottom and top horizontal clipping planes. - /// - /// - /// - /// - /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glOrtho")] - public static - void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPopMatrix")] - public static - void PopMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopMatrix(); - #if DEBUG - } - #endif - } - - - /// - /// Push and pop the current matrix stack - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushMatrix")] - public static - void PushMatrix() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushMatrix(); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a rotation matrix - /// - /// - /// - /// Specifies the angle of rotation, in degrees. - /// - /// - /// - /// - /// Specify the x, y, and z coordinates of a vector, respectively. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotated")] - public static - void Rotate(Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a rotation matrix - /// - /// - /// - /// Specifies the angle of rotation, in degrees. - /// - /// - /// - /// - /// Specify the x, y, and z coordinates of a vector, respectively. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotatef")] - public static - void Rotate(Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a general scaling matrix - /// - /// - /// - /// Specify scale factors along the x, y, and z axes, respectively. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScaled")] - public static - void Scale(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScaled((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a general scaling matrix - /// - /// - /// - /// Specify scale factors along the x, y, and z axes, respectively. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScalef")] - public static - void Scale(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glScalef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a translation matrix - /// - /// - /// - /// Specify the x, y, and z coordinates of a translation vector. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslated")] - public static - void Translate(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslated((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix by a translation matrix - /// - /// - /// - /// Specify the x, y, and z coordinates of a translation vector. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslatef")] - public static - void Translate(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the starting index in the enabled arrays. - /// - /// - /// - /// - /// Specifies the number of indices to be rendered. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawArrays")] - public static - void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set the scale and units used to calculate depth values - /// - /// - /// - /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. - /// - /// - /// - /// - /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glPolygonOffset")] - public static - void PolygonOffset(Single factor, Single units) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffset((Single)factor, (Single)units); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a 1D texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. /// /// /// @@ -42772,4020 +66883,14 @@ namespace OpenTK.Graphics /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - /// - /// - /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specify the window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage1D")] - public static - void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a 2D texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . - /// - /// - /// - /// - /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage2D")] - public static - void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - - /// - /// Copy a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the texel offset within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] - public static - void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Copy a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Bind a named texture to a texturing target - /// - /// - /// - /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the name of a texture. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Bind a named texture to a texturing target - /// - /// - /// - /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the name of a texture. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] - public static - void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTexture((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - unsafe void DeleteTextures(Int32 n, Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] out UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] out Int32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [Out] UInt32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTexture((UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Render a vertex using the specified vertex array element - /// - /// - /// - /// Specifies an index into the enabled vertex data arrays. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glArrayElement")] - public static - void ArrayElement(Int32 i) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glArrayElement((Int32)i); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glDisableClientState")] - public static - void DisableClientState(OpenTK.Graphics.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientState((OpenTK.Graphics.EnableCap)array); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Enable or disable client-side capability - /// - /// - /// - /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] - public static - void EnableClientState(OpenTK.Graphics.EnableCap array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientState((OpenTK.Graphics.EnableCap)array); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, UInt32[] textures, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, ref UInt32 textures, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color index - /// - /// - /// - /// Specifies the new value for the current color index. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexub")] - public static - void Index(Byte c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexub((Byte)c); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color index - /// - /// - /// - /// Specifies the new value for the current color index. - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexubv")] - public static - unsafe void Index(Byte* c) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexubv((Byte*)c); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPopClientAttrib")] - public static - void PopClientAttrib() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPopClientAttrib(); - #if DEBUG - } - #endif - } - - - /// - /// Push and pop the client attribute stack - /// - /// - /// - /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPushClientAttrib")] - public static - void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushClientAttrib((OpenTK.Graphics.ClientAttribMask)mask); - #if DEBUG - } - #endif - } - - - /// - /// Set the blend color - /// - /// - /// - /// specify the components of GL_BLEND_COLOR - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendColor")] - public static - void BlendColor(Single red, Single green, Single blue, Single alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - #if DEBUG - } - #endif - } - - - /// - /// Specify the equation used for both the RGB blend equation and the Alpha blend equation - /// - /// - /// - /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendEquation")] - public static - void BlendEquation(OpenTK.Graphics.BlendEquationMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquation((OpenTK.Graphics.BlendEquationMode)mode); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// /// /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. /// /// /// /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. /// /// /// @@ -46808,15 +66913,634 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -46900,6 +67624,74 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture image /// @@ -47132,11 +67924,335 @@ namespace OpenTK.Graphics /// - /// Specify a three-dimensional texture subimage + /// Set texture parameters /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterf((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] + public static + void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteri")] + public static + void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteri((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] + public static + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] + public static + unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] + public static + void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. /// /// /// @@ -47149,31 +68265,11 @@ namespace OpenTK.Graphics /// Specifies a texel offset in the x direction within the texture array. /// /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// /// /// /// Specifies the width of the texture subimage. /// /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// /// /// /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. @@ -47189,15 +68285,614 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -47286,6 +68981,79 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture subimage /// @@ -47531,447 +69299,30 @@ namespace OpenTK.Graphics #endif } - - /// - /// Copy a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static - void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); #if DEBUG } #endif } - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static - unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params) + void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); #if DEBUG } #endif @@ -47979,11604 +69330,22 @@ namespace OpenTK.Graphics /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a color table - /// - /// - /// - /// The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal storage format of the texture image. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The x coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. - /// - /// - /// - /// - /// The y coordinate of the lower-left corner of the pixel rectangle to be transferred to the color table. - /// - /// - /// - /// - /// The width of the pixel rectangle. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorTable")] - public static - void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] - public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorSubTable")] - public static - void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterf")] - public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterf((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] - public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteri")] - public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteri((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] - public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The window space coordinates of the lower-left coordinate of the pixel array to copy. - /// - /// - /// - /// - /// The width of the pixel array to copy. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The window space coordinates of the lower-left coordinate of the pixel array to copy. - /// - /// - /// - /// - /// The width of the pixel array to copy. - /// - /// - /// - /// - /// The height of the pixel array to copy. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] - public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] - public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] - public static - unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Define histogram table - /// - /// - /// - /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The number of entries in the histogram table. Must be a power of 2. - /// - /// - /// - /// - /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glHistogram")] - public static - void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogram((OpenTK.Graphics.Version12Deprecated)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } - - - /// - /// Define minmax table - /// - /// - /// - /// The minmax table whose parameters are to be set. Must be GL_MINMAX. - /// - /// - /// - /// - /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glMinmax")] - public static - void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmax((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } - - - /// - /// Reset histogram table entries to zero - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetHistogram")] - public static - void ResetHistogram(OpenTK.Graphics.Version12Deprecated target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogram((OpenTK.Graphics.Version12Deprecated)target); - #if DEBUG - } - #endif - } - - - /// - /// Reset minmax table entries to initial values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetMinmax")] - public static - void ResetMinmax(OpenTK.Graphics.Version12Deprecated target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmax((OpenTK.Graphics.Version12Deprecated)target); - #if DEBUG - } - #endif - } - - - /// - /// Select active texture unit - /// - /// - /// - /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glActiveTexture")] - public static - void ActiveTexture(OpenTK.Graphics.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveTexture((OpenTK.Graphics.TextureUnit)texture); - #if DEBUG - } - #endif - } - - - /// - /// Specify multisample coverage parameters - /// - /// - /// - /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0. - /// - /// - /// - /// - /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glSampleCoverage")] - public static - void SampleCoverage(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleCoverage((Single)value, (bool)invert); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] - public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Select active texture unit - /// - /// - /// - /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glClientActiveTexture")] - public static - void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientActiveTexture((OpenTK.Graphics.TextureUnit)texture); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] - public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1d((OpenTK.Graphics.TextureUnit)target, (Double)s); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] - public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1f((OpenTK.Graphics.TextureUnit)target, (Single)s); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] - public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1i((OpenTK.Graphics.TextureUnit)target, (Int32)s); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] - public static - void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1s((OpenTK.Graphics.TextureUnit)target, (Int16)s); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] - public static - unsafe void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - void LoadTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - void LoadTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] - public static - unsafe void LoadTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixf((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - void MultTransposeMatrix(ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMultTransposeMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - unsafe void MultTransposeMatrix(Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixf((Single*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - void MultTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] - public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Specify pixel arithmetic for RGB and alpha components separately - /// - /// - /// - /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. - /// - /// - /// - /// - /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. - /// - /// - /// - /// - /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. - /// - /// - /// - /// - /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] - public static - void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparate((OpenTK.Graphics.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.BlendingFactorDest)dfactorAlpha); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterf")] - public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterf((OpenTK.Graphics.PointParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteri")] - public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteri((OpenTK.Graphics.PointParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] - public static - unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// - /// - /// Specify the fog distance. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordf")] - public static - void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordf((Single)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// - /// - /// Specify the fog distance. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordfv")] - public static - unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfv((Single*)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// - /// - /// Specify the fog distance. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordd")] - public static - void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordd((Double)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// - /// - /// Specify the fog distance. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoorddv")] - public static - unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddv((Double*)coord); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] - public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3b")] - public static - void SecondaryColor3(SByte red, SByte green, SByte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3d")] - public static - void SecondaryColor3(Double red, Double green, Double blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - void SecondaryColor3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3f")] - public static - void SecondaryColor3(Single red, Single green, Single blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glSecondaryColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - void SecondaryColor3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glSecondaryColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3i")] - public static - void SecondaryColor3(Int32 red, Int32 green, Int32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - void SecondaryColor3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - void SecondaryColor3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] - public static - unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3s")] - public static - void SecondaryColor3(Int16 red, Int16 green, Int16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - void SecondaryColor3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glSecondaryColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] - public static - void SecondaryColor3(Byte red, Byte green, Byte blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - void SecondaryColor3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glSecondaryColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] - public static - unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ubv((Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] - public static - void SecondaryColor3(UInt32 red, UInt32 green, UInt32 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - void SecondaryColor3(ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - unsafe void SecondaryColor3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3us")] - public static - void SecondaryColor3(UInt16 red, UInt16 green, UInt16 blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glSecondaryColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - void SecondaryColor3(ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glSecondaryColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - unsafe void SecondaryColor3(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3usv((UInt16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations + /// Multiply the current matrix by a translation matrix /// /// /// - /// Specify the , , coordinates for the raster position. + /// Specify the x, y, and z coordinates of a translation vector. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2d")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslated")] public static - void WindowPos2(Double x, Double y) + void Translate(Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2d((Double)x, (Double)y); + Delegates.glTranslated((Double)x, (Double)y, (Double)z); #if DEBUG } #endif @@ -59584,7763 +69353,22 @@ namespace OpenTK.Graphics /// - /// Specify the raster position in window coordinates for pixel operations + /// Multiply the current matrix by a translation matrix /// /// /// - /// Specify the , , coordinates for the raster position. + /// Specify the x, y, and z coordinates of a translation vector. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslatef")] public static - void WindowPos2(Double[] v) + void Translate(Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - void WindowPos2(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2f")] - public static - void WindowPos2(Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2f((Single)x, (Single)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - void WindowPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] - public static - unsafe void WindowPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2i")] - public static - void WindowPos2(Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2i((Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - unsafe void WindowPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2s")] - public static - void WindowPos2(Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2s((Int16)x, (Int16)y); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - void WindowPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] - public static - unsafe void WindowPos2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3d")] - public static - void WindowPos3(Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - void WindowPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3f")] - public static - void WindowPos3(Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - void WindowPos3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] - public static - unsafe void WindowPos3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3i")] - public static - void WindowPos3(Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - unsafe void WindowPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3s")] - public static - void WindowPos3(Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - void WindowPos3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - void WindowPos3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glWindowPos3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] - public static - unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a query object - /// - /// - /// - /// Specifies a value that may be the name of a query object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a query object - /// - /// - /// - /// Specifies a value that may be the name of a query object. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] - public static - bool IsQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsQuery((UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the boundaries of a query object - /// - /// - /// - /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Delimit the boundaries of a query object - /// - /// - /// - /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] - public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginQuery((OpenTK.Graphics.QueryTarget)target, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glEndQuery")] - public static - void EndQuery(OpenTK.Graphics.QueryTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndQuery((OpenTK.Graphics.QueryTarget)target); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object target - /// - /// - /// - /// Specifies a query object target. Must be GL_SAMPLES_PASSED. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] - public static - unsafe void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Bind a named buffer object - /// - /// - /// - /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the name of a buffer object. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] - public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBuffer((OpenTK.Graphics.BufferTarget)target, (UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] out UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - void GenBuffers(Int32 n, [Out] out Int32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = &buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - buffers = *buffers_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a buffer object - /// - /// - /// - /// Specifies a value that may be the name of a buffer object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a buffer object - /// - /// - /// - /// Specifies a value that may be the name of a buffer object. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] - public static - bool IsBuffer(Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsBuffer((UInt32)buffer); - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage); - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Map a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glMapBuffer")] - public static - unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBuffer((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferAccess)access); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glUnmapBuffer")] - public static - bool UnmapBuffer(OpenTK.Graphics.BufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glUnmapBuffer((OpenTK.Graphics.BufferTarget)target); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a buffer object - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. - /// - /// - /// - /// - /// Returns the requested parameter. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a buffer object - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. - /// - /// - /// - /// - /// Returns the requested parameter. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a buffer object - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE. - /// - /// - /// - /// - /// Returns the requested parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameteriv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] ref T2 @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set the RGB blend equation and the alpha blend equation separately - /// - /// - /// - /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - /// - /// - /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] - public static - void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationSeparate((OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - void DrawBuffers(Int32 n, ref OpenTK.Graphics.DrawBuffersEnum bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBuffersEnum* bufs_ptr = &bufs) - { - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back stencil test actions - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP. - /// - /// - /// - /// - /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - /// - /// - /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilOpSeparate")] - public static - void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilOpSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back function and reference value for stencil testing - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Set front and/or back function and reference value for stencil testing - /// - /// - /// - /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. - /// - /// - /// - /// - /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. - /// - /// - /// - /// - /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] - public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilFuncSeparate((OpenTK.Graphics.StencilFace)face, (OpenTK.Graphics.StencilFunction)func, (Int32)@ref, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Control the front and/or back writing of individual bits in the stencil planes - /// - /// - /// - /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Control the front and/or back writing of individual bits in the stencil planes - /// - /// - /// - /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. - /// - /// - /// - /// - /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] - public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilMaskSeparate((OpenTK.Graphics.StencilFace)face, (UInt32)mask); - #if DEBUG - } - #endif - } - - - /// - /// Attaches a shader object to a program object - /// - /// - /// - /// Specifies the program object to which a shader object will be attached. - /// - /// - /// - /// - /// Specifies the shader object that is to be attached. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Attaches a shader object to a program object - /// - /// - /// - /// Specifies the program object to which a shader object will be attached. - /// - /// - /// - /// - /// Specifies the shader object that is to be attached. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] - public static - void AttachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Associates a generic vertex attribute index with a named attribute variable - /// - /// - /// - /// Specifies the handle of the program object in which the association is to be made. - /// - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be bound. - /// - /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(UInt32 program, UInt32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Associates a generic vertex attribute index with a named attribute variable - /// - /// - /// - /// Specifies the handle of the program object in which the association is to be made. - /// - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be bound. - /// - /// - /// - /// - /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] - public static - void BindAttribLocation(Int32 program, Int32 index, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Compiles a shader object - /// - /// - /// - /// Specifies the shader object to be compiled. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Compiles a shader object - /// - /// - /// - /// Specifies the shader object to be compiled. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] - public static - void CompileShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompileShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Creates a program object - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateProgram")] - public static - Int32 CreateProgram() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateProgram(); - #if DEBUG - } - #endif - } - - - /// - /// Creates a shader object - /// - /// - /// - /// Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateShader")] - public static - Int32 CreateShader(OpenTK.Graphics.ShaderType type) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCreateShader((OpenTK.Graphics.ShaderType)type); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] - public static - void DeleteProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a shader object - /// - /// - /// - /// Specifies the shader object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a shader object - /// - /// - /// - /// Specifies the shader object to be deleted. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] - public static - void DeleteShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Detaches a shader object from a program object to which it is attached - /// - /// - /// - /// Specifies the program object from which to detach the shader object. - /// - /// - /// - /// - /// Specifies the shader object to be detached. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(UInt32 program, UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Detaches a shader object from a program object to which it is attached - /// - /// - /// - /// Specifies the program object from which to detach the shader object. - /// - /// - /// - /// - /// Specifies the shader object to be detached. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] - public static - void DetachShader(Int32 program, Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")] - public static - void DisableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Enable or disable a generic vertex attribute array - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be enabled or disabled. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Enable or disable a generic vertex attribute array - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be enabled or disabled. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] - public static - void EnableVertexAttribArray(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVertexAttribArray((UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] - public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveUniformType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] - public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveUniformType* type_ptr = &type) - { - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveUniformType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* obj_ptr = obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32[] obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* obj_ptr = obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr); - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] out Int32 count, [Out] out UInt32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (UInt32* obj_ptr = &obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of an attribute variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of an attribute variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] - public static - Int32 GetAttribLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a program object - /// - /// - /// - /// Specifies the program object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a program object - /// - /// - /// - /// Specifies the program object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - unsafe void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a program object - /// - /// - /// - /// Specifies the program object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a program object - /// - /// - /// - /// Specifies the program object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - unsafe void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - unsafe void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(Int32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder[])source); - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder[])source); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns the location of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] - public static - Int32 GetUniformLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Determines if a name corresponds to a program object - /// - /// - /// - /// Specifies a potential program object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Determines if a name corresponds to a program object - /// - /// - /// - /// Specifies a potential program object. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] - public static - bool IsProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Determines if a name corresponds to a shader object - /// - /// - /// - /// Specifies a potential shader object. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Determines if a name corresponds to a shader object - /// - /// - /// - /// Specifies a potential shader object. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(Int32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } - - - /// - /// Links a program object - /// - /// - /// - /// Specifies the handle of the program object to be linked. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Links a program object - /// - /// - /// - /// Specifies the handle of the program object to be linked. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] - public static - void LinkProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLinkProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Installs a program object as part of current rendering state - /// - /// - /// - /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(UInt32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); - #if DEBUG - } - #endif - } - - - /// - /// Installs a program object as part of current rendering state - /// - /// - /// - /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] - public static - void UseProgram(Int32 program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUseProgram((UInt32)program); + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -67388,183 +69416,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2f")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static - void Uniform2(Int32 location, Single v0, Single v1) + unsafe void Uniform1(Int32 location, Int32 count, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3f")] - public static - void Uniform3(Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4f")] - public static - void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1i")] - public static - void Uniform1(Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1i((Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2i")] - public static - void Uniform2(Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3i")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4i")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); #if DEBUG } #endif @@ -67652,16 +69513,268 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1i")] public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) + void Uniform1(Int32 location, Int32 v0) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform1i((Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1ui")] + public static + void Uniform1(Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1ui((Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2f")] + public static + void Uniform2(Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); #if DEBUG } #endif @@ -67702,6 +69815,35 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -67749,16 +69891,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2i")] public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) + void Uniform2(Int32 location, Int32 v0, Int32 v1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); #if DEBUG } #endif @@ -67778,9 +69919,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] public static - void Uniform3(Int32 location, Int32 count, Single[] value) + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -67788,9 +69958,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Int32* value_ptr = value) { - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); } } #if DEBUG @@ -67799,6 +69969,162 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2ui")] + public static + void Uniform2(Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3f")] + public static + void Uniform3(Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -67875,9 +70201,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static - void Uniform4(Int32 location, Int32 count, Single[] value) + void Uniform3(Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -67887,7 +70213,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value_ptr); } } #if DEBUG @@ -67909,21 +70235,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3i")] public static - void Uniform4(Int32 location, Int32 count, ref Single value) + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); #if DEBUG } #endif @@ -67944,175 +70264,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); #if DEBUG } #endif @@ -68201,15 +70361,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3ui")] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); #if DEBUG } #endif @@ -68229,9 +70389,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static - void Uniform4(Int32 location, Int32 count, Int32[] value) + void Uniform3(Int32 location, Int32 count, UInt32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68239,9 +70400,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = value) + fixed (UInt32* value_ptr = value) { - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); } } #if DEBUG @@ -68250,6 +70411,223 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + void Uniform3(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4f")] + public static + void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4i")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -68284,6 +70662,40 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -68312,9 +70724,53 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4ui")] public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) + void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68322,9 +70778,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (UInt32* value_ptr = value) { - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); } } #if DEBUG @@ -68332,6 +70788,114 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] public static void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) @@ -68352,24 +70916,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix2fv")] public static - unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68379,7 +70928,117 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -68422,9 +71081,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68434,7 +71093,117 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -68462,6 +71231,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] public static @@ -68477,6 +71266,177 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glUnmapBuffer")] + public static + bool UnmapBuffer(OpenTK.Graphics.BufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glUnmapBuffer((OpenTK.Graphics.BufferTarget)target); + #if DEBUG + } + #endif + } + + + /// + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + + /// + /// Installs a program object as part of current rendering state + /// + /// + /// + /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] + public static + void UseProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUseProgram((UInt32)program); + #if DEBUG + } + #endif + } + /// /// Validates a program object @@ -68525,6 +71485,1266 @@ namespace OpenTK.Graphics } + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2d")] + public static + void Vertex2(Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2d((Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + void Vertex2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + unsafe void Vertex2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + void Vertex2(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2f")] + public static + void Vertex2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2f((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + unsafe void Vertex2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + void Vertex2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + void Vertex2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2i")] + public static + void Vertex2(Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2i((Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + void Vertex2(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + unsafe void Vertex2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + void Vertex2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2s")] + public static + void Vertex2(Int16 x, Int16 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2s((Int16)x, (Int16)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + void Vertex2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + unsafe void Vertex2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] + public static + void Vertex2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3d")] + public static + void Vertex3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3d((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + void Vertex3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + unsafe void Vertex3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + void Vertex3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3f")] + public static + void Vertex3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3f((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + unsafe void Vertex3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + void Vertex3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] + public static + void Vertex3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3i")] + public static + void Vertex3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + unsafe void Vertex3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + void Vertex3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + void Vertex3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3s")] + public static + void Vertex3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + unsafe void Vertex3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + void Vertex3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + void Vertex3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4d")] + public static + void Vertex4(Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + void Vertex4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + unsafe void Vertex4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + void Vertex4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertex4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4f")] + public static + void Vertex4(Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + unsafe void Vertex4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + void Vertex4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertex4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + void Vertex4(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4i")] + public static + void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + void Vertex4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + unsafe void Vertex4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + void Vertex4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertex4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4s")] + public static + void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + unsafe void Vertex4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -68640,35 +72860,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(UInt32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -68697,6 +72888,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(UInt32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -68713,7 +72933,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static - unsafe void VertexAttrib1(UInt32 index, Single* v) + unsafe void VertexAttrib1(Int32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68742,7 +72962,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static - unsafe void VertexAttrib1(Int32 index, Single* v) + unsafe void VertexAttrib1(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68828,7 +73048,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) + unsafe void VertexAttrib1(Int32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68857,7 +73077,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static - unsafe void VertexAttrib1(Int32 index, Int16* v) + unsafe void VertexAttrib1(UInt32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68870,35 +73090,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] - public static - void VertexAttrib2(UInt32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -68927,6 +73118,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] + public static + void VertexAttrib2(UInt32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -68943,7 +73163,35 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static - void VertexAttrib2(UInt32 index, Double[] v) + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -68951,7 +73199,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); } @@ -68962,6 +73210,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -69044,9 +73321,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static - void VertexAttrib2(Int32 index, ref Double v) + void VertexAttrib2(UInt32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -69054,7 +73332,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); } @@ -69065,64 +73343,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -69180,110 +73400,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -69347,6 +73463,76 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -69376,6 +73562,40 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -69433,6 +73653,133 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -69502,133 +73849,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -69699,10 +73919,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static - void VertexAttrib3(UInt32 index, Double[] v) + void VertexAttrib3(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -69734,9 +73953,38 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static - void VertexAttrib3(Int32 index, Double[] v) + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(Int32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -69744,7 +73992,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); } @@ -69790,69 +74038,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -69882,6 +74067,41 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -69939,6 +74159,98 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -70056,79 +74368,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static - void VertexAttrib3(Int32 index, ref Single v) + void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); #if DEBUG } #endif @@ -70177,15 +74425,79 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) + unsafe void VertexAttrib3(UInt32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + void VertexAttrib3(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -70296,40 +74608,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - void VertexAttrib3(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -70344,580 +74622,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) + unsafe void VertexAttrib4(UInt32 index, SByte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - void VertexAttrib4N(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - void VertexAttrib4N(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] - public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - void VertexAttrib4N(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); #if DEBUG } #endif @@ -71007,16 +74720,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static - unsafe void VertexAttrib4(UInt32 index, SByte* v) + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -71065,15 +74777,79 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + unsafe void VertexAttrib4(UInt32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + void VertexAttrib4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -71184,98 +74960,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -71333,110 +75017,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -71529,6 +75109,110 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -71614,19 +75298,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static - void VertexAttrib4(UInt32 index, ref Int32 v) + unsafe void VertexAttrib4(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); #if DEBUG } #endif @@ -71646,9 +75324,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static - void VertexAttrib4(Int32 index, ref Int32 v) + void VertexAttrib4(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -71709,45 +75388,557 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static - unsafe void VertexAttrib4(Int32 index, Int32* v) + void VertexAttrib4(Int32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + void VertexAttrib4N(UInt32 index, SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + void VertexAttrib4N(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] + public static + void VertexAttrib4N(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nsv")] + public static + void VertexAttrib4N(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] + public static + void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nub")] + public static + void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + void VertexAttrib4N(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + void VertexAttrib4N(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + void VertexAttrib4N(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + void VertexAttrib4N(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v_ptr); + } + } #if DEBUG } #endif @@ -71796,55 +75987,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static - void VertexAttrib4(UInt32 index, Int16[] v) + void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); #if DEBUG } #endif @@ -71867,7 +76018,65 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static - void VertexAttrib4(UInt32 index, ref Int16 v) + unsafe void VertexAttrib4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + unsafe void VertexAttrib4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(UInt32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -71875,7 +76084,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); } @@ -71936,13 +76145,87 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static - unsafe void VertexAttrib4(UInt32 index, Int16* v) + void VertexAttrib4(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); + } + } #if DEBUG } #endif @@ -71963,15 +76246,44 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static - unsafe void VertexAttrib4(Int32 index, Int16* v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -72082,98 +76394,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -72190,19 +76410,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static - void VertexAttrib4(UInt32 index, UInt32[] v) + unsafe void VertexAttrib4(UInt32 index, UInt32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); - } - } + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); #if DEBUG } #endif @@ -72260,36 +76474,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - void VertexAttrib4(UInt32 index, UInt16[] v) + void VertexAttrib4(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72297,9 +76482,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* v_ptr = v) + fixed (UInt32* v_ptr = v) { - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v_ptr); } } #if DEBUG @@ -72343,6 +76528,41 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + void VertexAttrib4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -72371,6 +76591,1289 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] + public static + void VertexAttribI1(UInt32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] + public static + void VertexAttribI1(Int32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + public static + unsafe void VertexAttribI1(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + public static + unsafe void VertexAttribI1(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] + public static + void VertexAttribI1(UInt32 index, UInt32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] + public static + unsafe void VertexAttribI1(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] + public static + void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + void VertexAttribI2(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + void VertexAttribI2(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + public static + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + public static + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + unsafe void VertexAttribI3(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] + public static + void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + void VertexAttribI3(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + public static + void VertexAttribI3(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + void VertexAttribI4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + void VertexAttribI4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + void VertexAttribI4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + void VertexAttribI4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] + public static + void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + void VertexAttribI4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + public static + void VertexAttribI4(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// /// Define an array of generic vertex attribute data @@ -72405,16 +77908,24 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -72469,6 +77980,179 @@ namespace OpenTK.Graphics } + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of generic vertex attribute data /// @@ -72527,6 +78211,112 @@ namespace OpenTK.Graphics } + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Define an array of generic vertex attribute data /// @@ -72643,42 +78433,32 @@ namespace OpenTK.Graphics /// - /// Define an array of generic vertex attribute data + /// Define an array of vertex data /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// /// /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72687,7 +78467,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -72700,43 +78480,32 @@ namespace OpenTK.Graphics /// - /// Define an array of generic vertex attribute data + /// Define an array of vertex data /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// /// /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72745,7 +78514,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -72758,42 +78527,32 @@ namespace OpenTK.Graphics /// - /// Define an array of generic vertex attribute data + /// Define an array of vertex data /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// /// /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72802,7 +78561,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -72815,43 +78574,32 @@ namespace OpenTK.Graphics /// - /// Define an array of generic vertex attribute data + /// Define an array of vertex data /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// /// /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -72860,7 +78608,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -72873,386 +78621,37 @@ namespace OpenTK.Graphics /// - /// Define an array of generic vertex attribute data + /// Define an array of vertex data /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// /// /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] - public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] - public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] - public static - unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x3fv")] - public static - unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -73260,23 +78659,27 @@ namespace OpenTK.Graphics /// - /// Enable and disable writing of frame buffer color components + /// Set the viewport /// - /// + /// /// - /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] + /// + /// + /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glViewport")] public static - void ColorMask(UInt32 index, bool r, bool g, bool b, bool a) + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -73284,250 +78687,22 @@ namespace OpenTK.Graphics /// - /// Enable and disable writing of frame buffer color components + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. + /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2d")] public static - void ColorMask(Int32 index, bool r, bool g, bool b, bool a) + void WindowPos2(Double x, Double y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data); + Delegates.glWindowPos2d((Double)x, (Double)y); #if DEBUG } #endif @@ -73535,276 +78710,16 @@ namespace OpenTK.Graphics /// - /// Enable or disable server-side GL capabilities + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies a symbolic constant indicating a GL capability. + /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Enable or disable server-side GL capabilities - /// - /// - /// - /// Specifies a symbolic constant indicating a GL capability. - /// - /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] - public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glDisablei")] - public static - void Disable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisablei((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Test whether a capability is enabled - /// - /// - /// - /// Specifies a symbolic constant indicating a GL capability. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - - /// - /// Test whether a capability is enabled - /// - /// - /// - /// Specifies a symbolic constant indicating a GL capability. - /// - /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] - public static - bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledi((OpenTK.Graphics.IndexedEnableCap)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginTransformFeedback")] - public static - void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedback((OpenTK.Graphics.BeginFeedbackMode)primitiveMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndTransformFeedback")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedback(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferRange")] - public static - void BindBufferRange(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRange((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] - public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBase((OpenTK.Graphics.BufferTarget)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.TransformFeedbackMode)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + void WindowPos2(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -73812,423 +78727,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + fixed (Double* v_ptr = v) { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClampColor")] - public static - void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClampColor((OpenTK.Graphics.ClampColorTarget)target, (OpenTK.Graphics.ClampColorMode)clamp); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBeginConditionalRender")] - public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.ConditionalRenderType mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.ConditionalRenderType)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEndConditionalRender")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRender(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIuiv")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; + Delegates.glWindowPos2dv((Double*)v_ptr); } } #if DEBUG @@ -74238,27 +78739,40 @@ namespace OpenTK.Graphics /// - /// Returns the value of a uniform variable + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. + /// Specify the , , coordinates for the raster position. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static - void GetUniform(UInt32 program, Int32 location, [Out] UInt32[] @params) + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] + public static + void WindowPos2(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -74266,9 +78780,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Double* v_ptr = &v) { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + Delegates.glWindowPos2dv((Double*)v_ptr); } } #if DEBUG @@ -74278,27 +78792,39 @@ namespace OpenTK.Graphics /// - /// Returns the value of a uniform variable + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the program object to be queried. + /// Specify the , , coordinates for the raster position. /// /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2f")] public static - void GetUniform(UInt32 program, Int32 location, [Out] out UInt32 @params) + void WindowPos2(Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2f((Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] + public static + void WindowPos2(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -74306,10 +78832,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = &@params) + fixed (Single* v_ptr = &v) { - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; + Delegates.glWindowPos2fv((Single*)v_ptr); } } #if DEBUG @@ -74319,230 +78844,16 @@ namespace OpenTK.Graphics /// - /// Returns the value of a uniform variable + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the program object to be queried. + /// Specify the , , coordinates for the raster position. /// /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1ui")] - public static - void Uniform1(Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2ui")] - public static - void Uniform2(Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3ui")] - public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4ui")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) + void WindowPos2(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -74550,9 +78861,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* value_ptr = value) + fixed (Single* v_ptr = v) { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + Delegates.glWindowPos2fv((Single*)v_ptr); } } #if DEBUG @@ -74562,34 +78873,23 @@ namespace OpenTK.Graphics /// - /// Specify the value of a uniform variable for the current program object + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. + /// Specify the , , coordinates for the raster position. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) + unsafe void WindowPos2(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glWindowPos2fv((Single*)v); #if DEBUG } #endif @@ -74597,28 +78897,22 @@ namespace OpenTK.Graphics /// - /// Specify the value of a uniform variable for the current program object + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the location of the uniform variable to be modified. + /// Specify the , , coordinates for the raster position. /// /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2i")] public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + void WindowPos2(Int32 x, Int32 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glWindowPos2i((Int32)x, (Int32)y); #if DEBUG } #endif @@ -74626,965 +78920,16 @@ namespace OpenTK.Graphics /// - /// Specify the value of a uniform variable for the current program object + /// Specify the raster position in window coordinates for pixel operations /// - /// + /// /// - /// Specifies the location of the uniform variable to be modified. + /// Specify the , , coordinates for the raster position. /// /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static - void Uniform2(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - void Uniform3(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferuiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfi")] - public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferfi((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - #if DEBUG - } - #endif - } - - - /// - /// Return a string describing the current GL connection - /// - /// - /// - /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] - public static - string GetString(OpenTK.Graphics.StringName name, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); - #if DEBUG - } - #endif - } - - - /// - /// Return a string describing the current GL connection - /// - /// - /// - /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. - /// - /// - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] - public static - string GetString(OpenTK.Graphics.StringName name, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(Delegates.glGetStringi((OpenTK.Graphics.StringName)name, (UInt32)index)); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] - public static - void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] - public static - void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] - public static - void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] - public static - unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, Int32[] v) + void WindowPos2(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75594,7 +78939,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = v) { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + Delegates.glWindowPos2iv((Int32*)v_ptr); } } #if DEBUG @@ -75602,30 +78947,42 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static - void VertexAttribI2(Int32 index, Int32[] v) + unsafe void WindowPos2(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } + Delegates.glWindowPos2iv((Int32*)v); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static - void VertexAttribI2(UInt32 index, ref Int32 v) + void WindowPos2(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75635,7 +78992,7 @@ namespace OpenTK.Graphics { fixed (Int32* v_ptr = &v) { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + Delegates.glWindowPos2iv((Int32*)v_ptr); } } #if DEBUG @@ -75643,568 +79000,65 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2s")] public static - void VertexAttribI2(Int32 index, ref Int32 v) + void WindowPos2(Int16 x, Int16 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } + Delegates.glWindowPos2s((Int16)x, (Int16)y); #if DEBUG } #endif } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) + unsafe void WindowPos2(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + Delegates.glWindowPos2sv((Int16*)v); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] - public static - unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) + void WindowPos2(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -76214,7 +79068,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + Delegates.glWindowPos2sv((Int16*)v_ptr); } } #if DEBUG @@ -76222,9 +79076,438 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static - void VertexAttribI4(Int32 index, ref Int16 v) + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3d")] + public static + void WindowPos3(Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + void WindowPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3f")] + public static + void WindowPos3(Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + unsafe void WindowPos3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + void WindowPos3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3i")] + public static + void WindowPos3(Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + unsafe void WindowPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3s")] + public static + void WindowPos3(Int16 x, Int16 y, Int16 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + void WindowPos3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] + public static + void WindowPos3(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -76234,7 +79517,7 @@ namespace OpenTK.Graphics { fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v_ptr); + Delegates.glWindowPos3sv((Int16*)v_ptr); } } #if DEBUG @@ -76242,3309 +79525,31 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] - public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] - public static - void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glPrimitiveRestartIndex")] - public static - void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndex((UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindRenderbuffer")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbuffer((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorage")] - public static - void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorage((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBindFramebuffer")] - public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebuffer((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glCheckFramebufferStatus")] - public static - OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.FramebufferTarget)target); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] - public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] - public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] - public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferRenderbuffer")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenerateMipmap")] - public static - void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmap((OpenTK.Graphics.GenerateMipmapTarget)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBlitFramebuffer")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.BlitFramebufferFilter)filter); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glRenderbufferStorageMultisample")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glMapBufferRange")] - public static - unsafe IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.BufferAccessMask)access); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMapBufferRange", Version = "3.0", EntryPoint = "glFlushMappedBufferRange")] - public static - void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glBindVertexArray")] - public static - void BindVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexArray((UInt32)array); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] out Int32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(UInt32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] - public static - bool IsVertexArray(Int32 array) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVertexArray((UInt32)array); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] UInt32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] out UInt32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] out Int32 uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices_ptr); - uniformIndices = *uniformIndices_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String uniformNames, [Out] UInt32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String uniformNames, [Out] Int32* uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String)uniformNames, (UInt32*)uniformIndices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, ref UInt32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = &uniformIndices) - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] - public static - unsafe void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformName); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] - public static - void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformBlockIndex")] - public static - Int32 GetUniformBlockIndex(Int32 program, String uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] - public static - void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbCopyBuffer", Version = "3.0", EntryPoint = "glCopyBufferSubData")] - public static - void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyBufferSubData((OpenTK.Graphics.BufferTarget)readTarget, (OpenTK.Graphics.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCountersAMD(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCountersAMD(Int32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out Int32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitorsAMD(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] out Int32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitorAMD(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitorAMD(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitorAMD(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitorAMD(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] - public static - void TessellationFactorAMD(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationFactorAMD((Single)factor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] - public static - void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationModeAMD((OpenTK.Graphics.AmdVertexShaderTesselator)mode); - #if DEBUG - } - #endif - } - public static partial class Ext { - - /// - /// Set the blend color - /// - /// - /// - /// specify the components of GL_BLEND_COLOR - /// - /// - [AutoGenerated(Category = "ExtBlendColor", Version = "1.0", EntryPoint = "glBlendColorEXT")] + [AutoGenerated(Category = "ExtStencilTwoSide", Version = "1.3", EntryPoint = "glActiveStencilFaceEXT")] public static - void BlendColor(Single red, Single green, Single blue, Single alpha) + void ActiveStencilFace(OpenTK.Graphics.ExtStencilTwoSide face) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); + Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.ExtStencilTwoSide)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glApplyTextureEXT")] + public static + void ApplyTexture(OpenTK.Graphics.ExtLightTexture mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glApplyTextureEXT((OpenTK.Graphics.ExtLightTexture)mode); #if DEBUG } #endif @@ -79552,1989 +79557,26 @@ namespace OpenTK.Graphics /// - /// Set the scale and units used to calculate depth values + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// Specifies an array containing the names of the textures to be queried. /// /// - [AutoGenerated(Category = "ExtPolygonOffset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static - void PolygonOffset(Single factor, Single bias) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a 1D texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specify the window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] - public static - void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a 2D texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . - /// - /// - /// - /// - /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] - public static - void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - - /// - /// Copy a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the texel offset within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] - public static - void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Copy a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] - public static - void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - - /// - /// Copy a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] - public static - void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] - public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -81542,9 +79584,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* textures_ptr = &textures) + fixed (bool* residences_ptr = &residences) { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; } } #if DEBUG @@ -81554,73 +79599,33 @@ namespace OpenTK.Graphics /// - /// Get histogram parameters + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); #if DEBUG } #endif @@ -81628,3420 +79633,33 @@ namespace OpenTK.Graphics /// - /// Get histogram parameters + /// Determine if textures are loaded in texture memory /// - /// + /// /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// Specifies the number of textures to be queried. /// /// - /// + /// /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// Specifies an array containing the names of the textures to be queried. /// /// - /// + /// /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Define histogram table - /// - /// - /// - /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The number of entries in the histogram table. Must be a power of 2. - /// - /// - /// - /// - /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glHistogramEXT")] - public static - void Histogram(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } - - - /// - /// Define minmax table - /// - /// - /// - /// The minmax table whose parameters are to be set. Must be GL_MINMAX. - /// - /// - /// - /// - /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] - public static - void Minmax(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); - #if DEBUG - } - #endif - } - - - /// - /// Reset histogram table entries to zero - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] - public static - void ResetHistogram(OpenTK.Graphics.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetHistogramEXT((OpenTK.Graphics.ExtHistogram)target); - #if DEBUG - } - #endif - } - - - /// - /// Reset minmax table entries to initial values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] - public static - void ResetMinmax(OpenTK.Graphics.ExtHistogram target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glResetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] - public static - void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The window space coordinates of the lower-left coordinate of the pixel array to copy. - /// - /// - /// - /// - /// The width of the pixel array to copy. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] - public static - void CopyConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - - /// - /// Copy pixels into a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The window space coordinates of the lower-left coordinate of the pixel array to copy. - /// - /// - /// - /// - /// The width of the pixel array to copy. - /// - /// - /// - /// - /// The height of the pixel array to copy. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] - public static - void CopyConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] - public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); #if DEBUG } #endif @@ -85173,109 +79791,309 @@ namespace OpenTK.Graphics /// - /// Determine if textures are loaded in texture memory + /// Render a vertex using the specified vertex array element /// - /// + /// /// - /// Specifies the number of textures to be queried. + /// Specifies an index into the enabled vertex data arrays. /// /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glArrayElementEXT")] public static - bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) + void ArrayElement(Int32 i) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } + Delegates.glArrayElementEXT((Int32)i); #if DEBUG } #endif } - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBeginTransformFeedbackEXT")] public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + void BeginTransformFeedback(OpenTK.Graphics.ExtTransformFeedback primitiveMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.ExtTransformFeedback)primitiveMode); #if DEBUG } #endif } - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBeginVertexShaderEXT")] public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + void BeginVertexShader() { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + Delegates.glBeginVertexShaderEXT(); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] + public static + void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] + public static + void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + public static + void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] + public static + void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] + public static + void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] + public static + void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] + public static + void BindFragDataLocation(Int32 program, Int32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] + public static + void BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + public static + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] + public static + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindLightParameterEXT")] + public static + Int32 BindLightParameter(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindLightParameterEXT((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindMaterialParameterEXT")] + public static + Int32 BindMaterialParameter(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] + public static + void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] + public static + void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindParameterEXT")] + public static + Int32 BindParameter(OpenTK.Graphics.ExtVertexShader value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindParameterEXT((OpenTK.Graphics.ExtVertexShader)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] + public static + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] + public static + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTexGenParameterEXT")] + public static + Int32 BindTexGenParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)value); #if DEBUG } #endif @@ -85338,24 +80156,81 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTextureUnitParameterEXT")] public static - void DeleteTextures(Int32 n, UInt32[] textures) + Int32 BindTextureUnitParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.ExtVertexShader)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] + public static + void BindVertexShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] + public static + void BindVertexShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] + public static + void Binormal3(SByte bx, SByte by, SByte bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] + public static + void Binormal3(Byte bx, Byte by, Byte bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85363,9 +80238,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) + fixed (Byte* v_ptr = &v) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3bvEXT((SByte*)v_ptr); } } #if DEBUG @@ -85373,23 +80248,40 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static - void DeleteTextures(Int32 n, Int32[] textures) + unsafe void Binormal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + unsafe void Binormal3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85397,9 +80289,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = textures) + fixed (SByte* v_ptr = v) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3bvEXT((SByte*)v_ptr); } } #if DEBUG @@ -85407,24 +80299,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static - void DeleteTextures(Int32 n, ref UInt32 textures) + void Binormal3(Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85432,9 +80309,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = &textures) + fixed (Byte* v_ptr = v) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3bvEXT((SByte*)v_ptr); } } #if DEBUG @@ -85442,23 +80319,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static - void DeleteTextures(Int32 n, ref Int32 textures) + void Binormal3(ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85466,9 +80330,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (SByte* v_ptr = &v) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3bvEXT((SByte*)v_ptr); } } #if DEBUG @@ -85476,82 +80340,38 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dEXT")] public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) + void Binormal3(Double bx, Double by, Double bz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); #if DEBUG } #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] public static - unsafe void DeleteTextures(Int32 n, Int32* textures) + unsafe void Binormal3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glBinormal3dvEXT((Double*)v); #if DEBUG } #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] public static - void GenTextures(Int32 n, [Out] UInt32[] textures) + void Binormal3(ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85559,9 +80379,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) + fixed (Double* v_ptr = &v) { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3dvEXT((Double*)v_ptr); } } #if DEBUG @@ -85569,23 +80389,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] public static - void GenTextures(Int32 n, [Out] Int32[] textures) + void Binormal3(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85593,9 +80399,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = textures) + fixed (Double* v_ptr = v) { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glBinormal3dvEXT((Double*)v_ptr); } } #if DEBUG @@ -85603,24 +80409,38 @@ namespace OpenTK.Graphics #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fEXT")] public static - void GenTextures(Int32 n, [Out] out UInt32 textures) + void Binormal3(Single bx, Single by, Single bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + unsafe void Binormal3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] + public static + void Binormal3(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85628,10 +80448,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = &textures) + fixed (Single* v_ptr = &v) { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + Delegates.glBinormal3fvEXT((Single*)v_ptr); } } #if DEBUG @@ -85639,23 +80458,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] public static - void GenTextures(Int32 n, [Out] out Int32 textures) + void Binormal3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85663,10 +80468,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (Single* v_ptr = v) { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; + Delegates.glBinormal3fvEXT((Single*)v_ptr); } } #if DEBUG @@ -85674,134 +80478,23 @@ namespace OpenTK.Graphics #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3iEXT")] public static - unsafe void GenTextures(Int32 n, [Out] UInt32* textures) + void Binormal3(Int32 bx, Int32 by, Int32 bz) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); #if DEBUG } #endif } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] - public static - bool IsTexture(UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureEXT((UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] - public static - bool IsTexture(Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTextureEXT((UInt32)texture); - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + void Binormal3(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85809,10 +80502,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) + fixed (Int32* v_ptr = &v) { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + Delegates.glBinormal3ivEXT((Int32*)v_ptr); } } #if DEBUG @@ -85820,28 +80512,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + unsafe void Binormal3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + void Binormal3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85849,10 +80537,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) + fixed (Int32* v_ptr = v) { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + Delegates.glBinormal3ivEXT((Int32*)v_ptr); } } #if DEBUG @@ -85860,29 +80547,23 @@ namespace OpenTK.Graphics #endif } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3sEXT")] public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + void Binormal3(Int16 bx, Int16 by, Int16 bz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + void Binormal3(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85890,10 +80571,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) + fixed (Int16* v_ptr = &v) { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + Delegates.glBinormal3svEXT((Int16*)v_ptr); } } #if DEBUG @@ -85901,28 +80581,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + unsafe void Binormal3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + void Binormal3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85930,10 +80606,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) + fixed (Int16* v_ptr = v) { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + Delegates.glBinormal3svEXT((Int16*)v_ptr); } } #if DEBUG @@ -85941,35 +80616,107 @@ namespace OpenTK.Graphics #endif } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -85977,33 +80724,22 @@ namespace OpenTK.Graphics /// - /// Set texture residence priority + /// Set the blend color /// - /// + /// /// - /// Specifies the number of textures to be prioritized. + /// specify the components of GL_BLEND_COLOR /// /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + [AutoGenerated(Category = "ExtBlendColor", Version = "1.0", EntryPoint = "glBlendColorEXT")] public static - unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + void BlendColor(Single red, Single green, Single blue, Single alpha) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); #if DEBUG } #endif @@ -86011,22 +80747,264 @@ namespace OpenTK.Graphics /// - /// Render a vertex using the specified vertex array element + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation /// - /// + /// /// - /// Specifies an index into the enabled vertex data arrays. + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glArrayElementEXT")] + [AutoGenerated(Category = "ExtBlendMinmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] public static - void ArrayElement(Int32 i) + void BlendEquation(OpenTK.Graphics.ExtBlendMinmax mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glArrayElementEXT((Int32)i); + Delegates.glBlendEquationEXT((OpenTK.Graphics.ExtBlendMinmax)mode); + #if DEBUG + } + #endif + } + + + /// + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + [AutoGenerated(Category = "ExtBlendEquationSeparate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] + public static + void BlendEquationSeparate(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.ExtBlendEquationSeparate)modeAlpha); + #if DEBUG + } + #endif + } + + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// + [AutoGenerated(Category = "ExtBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] + public static + void BlendFuncSeparate(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferBlit", Version = "1.5", EntryPoint = "glBlitFramebufferEXT")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.ExtFramebufferBlit)filter); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glCheckFramebufferStatusEXT")] + public static + OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] + public static + OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] + public static + OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glClearColorIiEXT")] + public static + void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glClearColorIuiEXT")] + public static + void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glClientAttribDefaultEXT")] + public static + void ClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] + public static + void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] + public static + void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -86071,6 +81049,53 @@ namespace OpenTK.Graphics } + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of colors /// @@ -86165,1352 +81190,6 @@ namespace OpenTK.Graphics } - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the starting index in the enabled arrays. - /// - /// - /// - /// - /// Specifies the number of indices to be rendered. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glDrawArraysEXT")] - public static - void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] - public static - void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] - public static - void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = &pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] - public static - unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the equation used for both the RGB blend equation and the Alpha blend equation - /// - /// - /// - /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. - /// - /// - [AutoGenerated(Category = "ExtBlendMinmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] - public static - void BlendEquation(OpenTK.Graphics.ExtBlendMinmax mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendEquationEXT((OpenTK.Graphics.ExtBlendMinmax)mode); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] - public static - void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] - public static - void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] - public static - unsafe void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - /// /// Respecify a portion of a color table /// @@ -87603,7 +81282,55 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) where T5 : struct { #if DEBUG @@ -87717,7 +81444,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) where T5 : struct { #if DEBUG @@ -87739,44 +81466,6 @@ namespace OpenTK.Graphics } - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The window coordinates of the left corner of the row of pixels to be copied. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] - public static - void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - /// /// Define a color lookup table /// @@ -88052,340 +81741,1939 @@ namespace OpenTK.Graphics #endif } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + bits_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) - where T3 : struct + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + bits_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) - where T3 : struct + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + bits_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) - where T3 : struct + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + bits_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } #if DEBUG } #endif @@ -88393,26 +83681,642 @@ namespace OpenTK.Graphics /// - /// Get color lookup table parameters + /// Define a one-dimensional convolution filter /// /// /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. /// /// /// /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. /// /// /// /// - /// A pointer to an array where the values of the parameter will be stored. + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) + void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -88422,7 +84326,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); } } #if DEBUG @@ -88432,26 +84336,139 @@ namespace OpenTK.Graphics /// - /// Get color lookup table parameters + /// Set convolution parameters /// /// /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. /// /// /// /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. /// /// /// /// - /// A pointer to an array where the values of the parameter will be stored. + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] public static - void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) + unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] + public static + void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -88459,10 +84476,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); - @params = *@params_ptr; + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -88472,89 +84488,588 @@ namespace OpenTK.Graphics /// - /// Get color lookup table parameters + /// Respecify a portion of a color table /// /// /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. /// /// - /// + /// /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// The starting index of the portion of the color table to be replaced. /// /// - /// + /// /// - /// A pointer to an array where the values of the parameter will be stored. + /// The window coordinates of the left corner of the row of pixels to be copied. /// /// + /// + /// + /// The number of table entries to replace. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] + public static + void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] + public static + void CopyConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The window space coordinates of the lower-left coordinate of the pixel array to copy. + /// + /// + /// + /// + /// The width of the pixel array to copy. + /// + /// + /// + /// + /// The height of the pixel array to copy. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] + public static + void CopyConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] + public static + void CopyMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] + public static + void CopyMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] + public static + void CopyMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] + public static + void CopyMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] + public static + void CopyMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a 1D texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . The height of the texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] + public static + void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + + /// + /// Copy pixels into a 2D texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer . + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] + public static + void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + + /// + /// Copy a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the texel offset within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the left corner of the row of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] + public static + void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + + /// + /// Copy a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Copy a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + public static + void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) + void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtIndexMaterial", Version = "1.1", EntryPoint = "glIndexMaterialEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void IndexMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode) + void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glIndexMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ExtIndexMaterial)mode); + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtIndexFunc", Version = "1.1", EntryPoint = "glIndexFuncEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void IndexFunc(OpenTK.Graphics.ExtIndexFunc func, Single @ref) + void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glIndexFuncEXT((OpenTK.Graphics.ExtIndexFunc)func, (Single)@ref); + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtCompiledVertexArray", Version = "1.1", EntryPoint = "glLockArraysEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] public static - void LockArrays(Int32 first, Int32 count) + void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLockArraysEXT((Int32)first, (Int32)count); + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtCompiledVertexArray", Version = "1.1", EntryPoint = "glUnlockArraysEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] public static - void UnlockArrays() + void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUnlockArraysEXT(); + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] + public static + void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] + public static + void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] + public static + void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] + public static + void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -88616,21 +85131,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] public static - void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single[] @params) + unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params_ptr); - } - } + Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); #if DEBUG } #endif @@ -88657,16 +85167,724 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] public static - unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params) + void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] + public static + void DeleteVertexShader(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] + public static + void DeleteVertexShader(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexShaderEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDepthBoundsTest", Version = "1.2", EntryPoint = "glDepthBoundsEXT")] + public static + void DepthBounds(Double zmin, Double zmax) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] + public static + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] + public static + void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] + public static + void DisableVariantClientState(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] + public static + void DisableVariantClientState(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDisableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glDrawArraysEXT")] + public static + void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedEXT")] + public static + void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); #if DEBUG } #endif @@ -88976,9 +86194,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -89033,10 +86252,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -89148,10 +86366,9 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) where T5 : struct { #if DEBUG @@ -89206,9 +86423,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) where T5 : struct { #if DEBUG @@ -89229,57 +86447,15803 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glApplyTextureEXT")] + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static - void ApplyTexture(OpenTK.Graphics.ExtLightTexture mode) + void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glApplyTextureEXT((OpenTK.Graphics.ExtLightTexture)mode); + unsafe + { + fixed (bool* pointer_ptr = &pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureLightEXT")] + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static - void TextureLight(OpenTK.Graphics.ExtLightTexture pname) + unsafe void EdgeFlagPointer(Int32 stride, Int32 count, bool* pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureLightEXT((OpenTK.Graphics.ExtLightTexture)pname); + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureMaterialEXT")] + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static - void TextureMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode) + void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode); + unsafe + { + fixed (bool* pointer_ptr = pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameteriEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static - void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param) + void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Int32)param); + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] + public static + void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] + public static + void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] + public static + void EnableVariantClientState(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] + public static + void EnableVariantClientState(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVariantClientStateEXT((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glEndTransformFeedbackEXT")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedbackEXT(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEndVertexShaderEXT")] + public static + void EndVertexShader() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndVertexShaderEXT(); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] + public static + void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] + public static + void ExtractComponent(Int32 res, Int32 src, Int32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] + public static + void FogCoord(Double coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoorddEXT((Double)coord); + #if DEBUG + } + #endif + } + + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddvEXT")] + public static + unsafe void FogCoord(Double* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoorddvEXT((Double*)coord); + #if DEBUG + } + #endif + } + + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] + public static + void FogCoord(Single coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordfEXT((Single)coord); + #if DEBUG + } + #endif + } + + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfvEXT")] + public static + unsafe void FogCoord(Single* coord) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordfvEXT((Single*)coord); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] + public static + void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] + public static + void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + public static + void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + public static + void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] + public static + void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] + public static + void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] + public static + void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] + public static + void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] + public static + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] + public static + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] + public static + void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] + public static + void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenerateMipmapEXT")] + public static + void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMipmapEXT((OpenTK.Graphics.GenerateMipmapTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] + public static + void GenerateMultiTexMipmap(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] + public static + void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] + public static + void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + public static + void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, Int32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] + public static + Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [Out] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [Out] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [Out] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [Out] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [Out] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [Out] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] + public static + Int32 GenVertexShaders(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenVertexShadersEXT((UInt32)range); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] + public static + Int32 GenVertexShaders(UInt32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenVertexShadersEXT((UInt32)range); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + unsafe void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] + public static + Int32 GetFragDataLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] + public static + Int32 GetFragDataLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + unsafe void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] + public static + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] + public static + void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] + public static + unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] + public static + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + public static + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] + public static + void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] + public static + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + public static + Int32 GetUniformBufferSize(Int32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + public static + Int32 GetUniformBufferSize(UInt32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] + public static + IntPtr GetUniformOffset(Int32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] + public static + IntPtr GetUniformOffset(UInt32 program, Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Define histogram table + /// + /// + /// + /// The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The number of entries in the histogram table. Must be a power of 2. + /// + /// + /// + /// + /// The format of entries in the histogram table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glHistogramEXT")] + public static + void Histogram(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtIndexFunc", Version = "1.1", EntryPoint = "glIndexFuncEXT")] + public static + void IndexFunc(OpenTK.Graphics.ExtIndexFunc func, Single @ref) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexFuncEXT((OpenTK.Graphics.ExtIndexFunc)func, (Single)@ref); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtIndexMaterial", Version = "1.1", EntryPoint = "glIndexMaterialEXT")] + public static + void IndexMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.ExtIndexMaterial)mode); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] + public static + void InsertComponent(UInt32 res, UInt32 src, UInt32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] + public static + void InsertComponent(Int32 res, Int32 src, Int32 num) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] + public static + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTextureEXT((UInt32)texture); + #if DEBUG + } + #endif + } + + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTextureEXT((UInt32)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] + public static + bool IsVariantEnabled(Int32 id, OpenTK.Graphics.ExtVertexShader cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] + public static + bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.ExtVertexShader cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCompiledVertexArray", Version = "1.1", EntryPoint = "glLockArraysEXT")] + public static + void LockArrays(Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLockArraysEXT((Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] + public static + unsafe IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] + public static + unsafe IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixFrustumEXT")] + public static + void MatrixFrustum(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixFrustumEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] + public static + void MatrixLoadIdentity(OpenTK.Graphics.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.MatrixMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] + public static + void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] + public static + unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixOrthoEXT")] + public static + void MatrixOrtho(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixOrthoEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPopEXT")] + public static + void MatrixPop(OpenTK.Graphics.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixPopEXT((OpenTK.Graphics.MatrixMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPushEXT")] + public static + void MatrixPush(OpenTK.Graphics.MatrixMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixPushEXT((OpenTK.Graphics.MatrixMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatedEXT")] + public static + void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixRotatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatefEXT")] + public static + void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixRotatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScaledEXT")] + public static + void MatrixScale(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixScaledEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScalefEXT")] + public static + void MatrixScale(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixScalefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatedEXT")] + public static + void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatefEXT")] + public static + void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Define minmax table + /// + /// + /// + /// The minmax table whose parameters are to be set. Must be GL_MINMAX. + /// + /// + /// + /// + /// The format of entries in the minmax table. Must be one of GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] + public static + void Minmax(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] + public static + void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + first = *first_ptr; + count = *count_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] + public static + void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] + public static + void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] + public static + unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnviEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnviEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] + public static + unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] + public static + void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendEXT")] + public static + void MultiTexGend(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGendEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGeniEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGeniEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] + public static + unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameteriEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] + public static + void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] + public static + unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + public static + void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + public static + void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] + public static + void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] + public static + void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] + public static + void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] + public static + void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] + public static + void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] + public static + void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] + public static + void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] + public static + void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] + public static + void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] + public static + void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + public static + void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + public static + void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + public static + void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + public static + void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] + public static + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] + public static + void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] + public static + void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] + public static + void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] + public static + void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + public static + void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + public static + void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -89299,6 +102263,35 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterfvEXT")] + public static + unsafe void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameteriEXT")] + public static + void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Int32)param); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterivEXT")] public static @@ -89314,16 +102307,3116 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterfvEXT")] + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] public static - unsafe void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params) + void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Single*)@params); + Delegates.glPointParameterfEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] + public static + void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] + public static + unsafe void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set the scale and units used to calculate depth values + /// + /// + /// + /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. + /// + /// + /// + /// + /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtPolygonOffset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] + public static + void PolygonOffset(Single factor, Single bias) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + unsafe void PrioritizeTextures(Int32 n, Int32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] + public static + void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] + public static + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uiEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2iEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2iEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uiEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uiEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uiEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtProvokingVertex", Version = "2.1", EntryPoint = "glProvokingVertexEXT")] + public static + void ProvokingVertex(OpenTK.Graphics.ExtProvokingVertex mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProvokingVertexEXT((OpenTK.Graphics.ExtProvokingVertex)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] + public static + void PushClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glRenderbufferStorageEXT")] + public static + void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtFramebufferMultisample", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleEXT")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ExtFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + + /// + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] + public static + void ResetHistogram(OpenTK.Graphics.ExtHistogram target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetHistogramEXT((OpenTK.Graphics.ExtHistogram)target); + #if DEBUG + } + #endif + } + + + /// + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] + public static + void ResetMinmax(OpenTK.Graphics.ExtHistogram target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtMultisample", Version = "1.0", EntryPoint = "glSampleMaskEXT")] + public static + void SampleMask(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskEXT((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtMultisample", Version = "1.0", EntryPoint = "glSamplePatternEXT")] + public static + void SamplePattern(OpenTK.Graphics.ExtMultisample pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplePatternEXT((OpenTK.Graphics.ExtMultisample)pattern); #if DEBUG } #endif @@ -89354,6 +105447,30 @@ namespace OpenTK.Graphics } + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current secondary color /// @@ -89414,30 +105531,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current secondary color /// @@ -89490,6 +105583,30 @@ namespace OpenTK.Graphics } + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + unsafe void SecondaryColor3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dvEXT((Double*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current secondary color /// @@ -89519,30 +105636,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] - public static - unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dvEXT((Double*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current secondary color /// @@ -89566,35 +105659,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] - public static - void SecondaryColor3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Set the current secondary color /// @@ -89648,6 +105712,35 @@ namespace OpenTK.Graphics } + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + void SecondaryColor3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glSecondaryColor3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Set the current secondary color /// @@ -89681,7 +105774,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static - void SecondaryColor3(Int32[] v) + void SecondaryColor3(ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89689,7 +105782,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) + fixed (Int32* v_ptr = &v) { Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); } @@ -89710,7 +105803,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static - void SecondaryColor3(ref Int32 v) + void SecondaryColor3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89718,7 +105811,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) { Delegates.glSecondaryColor3ivEXT((Int32*)v_ptr); } @@ -89776,6 +105869,30 @@ namespace OpenTK.Graphics } + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + + /// /// Set the current secondary color /// @@ -89842,16 +105959,15 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] public static - unsafe void SecondaryColor3(Int16* v) + void SecondaryColor3(Byte red, Byte green, Byte blue) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3svEXT((Int16*)v); + Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); #if DEBUG } #endif @@ -89866,15 +105982,16 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static - void SecondaryColor3(Byte red, Byte green, Byte blue) + unsafe void SecondaryColor3(Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); + Delegates.glSecondaryColor3ubvEXT((Byte*)v); #if DEBUG } #endif @@ -89939,30 +106056,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - unsafe void SecondaryColor3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ubvEXT((Byte*)v); - #if DEBUG - } - #endif - } - - /// /// Set the current secondary color /// @@ -90179,6 +106272,53 @@ namespace OpenTK.Graphics } + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of secondary colors /// @@ -90311,53 +106451,6 @@ namespace OpenTK.Graphics } - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Define an array of secondary colors /// @@ -90404,804 +106497,70 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtTexturePerturbNormal", Version = "1.1", EntryPoint = "glTextureNormalEXT")] - public static - void TextureNormal(OpenTK.Graphics.ExtTexturePerturbNormal mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureNormalEXT((OpenTK.Graphics.ExtTexturePerturbNormal)mode); - #if DEBUG - } - #endif - } - /// - /// Render multiple sets of primitives from array data + /// Define a separable two-dimensional convolution filter /// - /// + /// /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// Must be GL_SEPARABLE_2D. /// /// - /// + /// /// - /// Points to an array of starting indices in the enabled arrays. + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. /// /// - /// + /// /// - /// Points to an array of the number of indices to be rendered. + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) /// /// - /// + /// /// - /// Specifies the size of the first and count + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives from array data - /// - /// + /// /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - first = *first_ptr; - count = *count_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. /// /// /// /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies a pointer to the location where the indices are stored. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies the size of the count array. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + row_ptr.Free(); + column_ptr.Free(); } #if DEBUG } @@ -91210,51 +106569,68 @@ namespace OpenTK.Graphics /// - /// Render multiple sets of primitives by specifying indices of array data elements + /// Define a separable two-dimensional convolution filter /// - /// + /// /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// Must be GL_SEPARABLE_2D. /// /// - /// + /// /// - /// Points to an array of the elements counts. + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. /// /// /// /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies a pointer to the location where the indices are stored. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies the size of the count array. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + row_ptr.Free(); + column_ptr.Free(); } #if DEBUG } @@ -91263,51 +106639,68 @@ namespace OpenTK.Graphics /// - /// Render multiple sets of primitives by specifying indices of array data elements + /// Define a separable two-dimensional convolution filter /// - /// + /// /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// Must be GL_SEPARABLE_2D. /// /// - /// + /// /// - /// Points to an array of the elements counts. + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. /// /// /// /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies a pointer to the location where the indices are stored. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies the size of the count array. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + row_ptr.Free(); + column_ptr.Free(); } #if DEBUG } @@ -91316,51 +106709,68 @@ namespace OpenTK.Graphics /// - /// Render multiple sets of primitives by specifying indices of array data elements + /// Define a separable two-dimensional convolution filter /// - /// + /// /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// Must be GL_SEPARABLE_2D. /// /// - /// + /// /// - /// Points to an array of the elements counts. + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. /// /// /// /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies a pointer to the location where the indices are stored. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies the size of the count array. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { - indices_ptr.Free(); + row_ptr.Free(); + column_ptr.Free(); } #if DEBUG } @@ -91369,126 +106779,66 @@ namespace OpenTK.Graphics /// - /// Set the current fog coordinates + /// Define a separable two-dimensional convolution filter /// - /// + /// /// - /// Specify the fog distance. + /// Must be GL_SEPARABLE_2D. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] - public static - void FogCoord(Single coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfEXT((Single)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// + /// /// - /// Specify the fog distance. + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfvEXT")] - public static - unsafe void FogCoord(Single* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordfvEXT((Single*)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// + /// /// - /// Specify the fog distance. + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] - public static - void FogCoord(Double coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddEXT((Double)coord); - #if DEBUG - } - #endif - } - - - /// - /// Set the current fog coordinates - /// - /// + /// /// - /// Specify the fog distance. + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddvEXT")] - public static - unsafe void FogCoord(Double* coord) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoorddvEXT((Double*)coord); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of fog coordinates - /// /// /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } #if DEBUG } #endif @@ -91496,172 +106846,842 @@ namespace OpenTK.Graphics /// - /// Define an array of fog coordinates + /// Define a separable two-dimensional convolution filter /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// /// /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. /// /// - /// + /// /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. /// /// - /// + /// /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - pointer_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] + public static + void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] + public static + void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] + public static + void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] + public static + void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] + public static + void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] + public static + void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtStencilClearTag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] + public static + void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtStencilClearTag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] + public static + void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] + public static + void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] + public static + void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bEXT")] public static @@ -91694,7 +107714,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - void Tangent3(SByte[] v) + void Tangent3(ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91702,7 +107722,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = v) + fixed (SByte* v_ptr = &v) { Delegates.glTangent3bvEXT((SByte*)v_ptr); } @@ -91735,19 +107755,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - void Tangent3(ref SByte v) + unsafe void Tangent3(Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } + Delegates.glTangent3bvEXT((SByte*)v); #if DEBUG } #endif @@ -91776,13 +107790,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - unsafe void Tangent3(SByte* v) + void Tangent3(SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTangent3bvEXT((SByte*)v); + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } #if DEBUG } #endif @@ -91791,7 +107811,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - unsafe void Tangent3(Byte* v) + unsafe void Tangent3(SByte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91886,26 +107906,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] - public static - void Tangent3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTangent3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] public static void Tangent3(ref Single v) @@ -91941,6 +107941,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] + public static + void Tangent3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTangent3fvEXT((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3iEXT")] public static void Tangent3(Int32 tx, Int32 ty, Int32 tz) @@ -91955,26 +107975,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] - public static - void Tangent3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTangent3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] public static void Tangent3(ref Int32 v) @@ -92010,6 +108010,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] + public static + void Tangent3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTangent3ivEXT((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3sEXT")] public static void Tangent3(Int16 tx, Int16 ty, Int16 tz) @@ -92024,26 +108044,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] - public static - void Tangent3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glTangent3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] public static void Tangent3(ref Int16 v) @@ -92064,6 +108064,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + void Tangent3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glTangent3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] public static @@ -92079,440 +108099,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] - public static - void Binormal3(SByte bx, SByte by, SByte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bEXT")] - public static - void Binormal3(Byte bx, Byte by, Byte bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - unsafe void Binormal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - unsafe void Binormal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dEXT")] - public static - void Binormal3(Double bx, Double by, Double bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] - public static - void Binormal3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glBinormal3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] - public static - void Binormal3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glBinormal3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3dvEXT")] - public static - unsafe void Binormal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3dvEXT((Double*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fEXT")] - public static - void Binormal3(Single bx, Single by, Single bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] - public static - void Binormal3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] - public static - void Binormal3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] - public static - unsafe void Binormal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3fvEXT((Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3iEXT")] - public static - void Binormal3(Int32 bx, Int32 by, Int32 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] - public static - void Binormal3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glBinormal3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] - public static - void Binormal3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glBinormal3ivEXT((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] - public static - unsafe void Binormal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3sEXT")] - public static - void Binormal3(Int16 bx, Int16 by, Int16 bz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] - public static - void Binormal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glBinormal3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] - public static - void Binormal3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glBinormal3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] - public static - unsafe void Binormal3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3svEXT((Int16*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -92535,7 +108124,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -92581,7 +108170,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -92602,24 +108191,77 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] + public static + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92628,76 +108270,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -92710,89 +108283,32 @@ namespace OpenTK.Graphics /// - /// Specify pixel arithmetic for RGB and alpha components separately + /// Define an array of texture coordinates /// - /// + /// /// - /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// + /// /// - /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - /// + /// /// - /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. /// /// - /// + /// /// - /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void BlendFuncSeparate(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.ExtBlendFuncSeparate)dfactorAlpha); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightfEXT")] - public static - void VertexWeight(Single weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightfEXT((Single)weight); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightfvEXT")] - public static - unsafe void VertexWeight(Single* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightfvEXT((Single*)weight); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92801,7 +108317,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -92812,3589 +108328,517 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] - public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtMultisample", Version = "1.0", EntryPoint = "glSampleMaskEXT")] - public static - void SampleMask(Single value, bool invert) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskEXT((Single)value, (bool)invert); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtMultisample", Version = "1.0", EntryPoint = "glSamplePatternEXT")] - public static - void SamplePattern(OpenTK.Graphics.ExtMultisample pattern) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSamplePatternEXT((OpenTK.Graphics.ExtMultisample)pattern); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBeginVertexShaderEXT")] - public static - void BeginVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginVertexShaderEXT(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEndVertexShaderEXT")] - public static - void EndVertexShader() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndVertexShaderEXT(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] - public static - void BindVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] - public static - void BindVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] - public static - Int32 GenVertexShaders(UInt32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenVertexShadersEXT((UInt32)range); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenVertexShadersEXT")] - public static - Int32 GenVertexShaders(Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenVertexShadersEXT((UInt32)range); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] - public static - void DeleteVertexShader(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] - public static - void DeleteVertexShader(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexShaderEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] - public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] - public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp1EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] - public static - void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp2EXT")] - public static - void ShaderOp2(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp2EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] - public static - void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp3EXT")] - public static - void ShaderOp3(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1, Int32 arg2, Int32 arg3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderOp3EXT((OpenTK.Graphics.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] - public static - void Swizzle(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSwizzleEXT")] - public static - void Swizzle(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] - public static - void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] - public static - void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] - public static - void InsertComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glInsertComponentEXT")] - public static - void InsertComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] - public static - void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] - public static - void ExtractComponent(Int32 res, Int32 src, Int32 num) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] - public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] - public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, Int32 components) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.ExtVertexShader)datatype, (OpenTK.Graphics.ExtVertexShader)storagetype, (OpenTK.Graphics.ExtVertexShader)range, (UInt32)components); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] - public static - void Variant(UInt32 id, SByte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] - public static - void Variant(UInt32 id, ref SByte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* addr_ptr = &addr) - { - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] - public static - unsafe void Variant(UInt32 id, SByte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(Int32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(Int32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - unsafe void Variant(UInt32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - unsafe void Variant(Int32 id, Int16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - void Variant(UInt32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - void Variant(Int32 id, Int32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - void Variant(UInt32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - void Variant(Int32 id, ref Int32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* addr_ptr = &addr) - { - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - unsafe void Variant(UInt32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] - public static - unsafe void Variant(Int32 id, Int32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - void Variant(UInt32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - void Variant(Int32 id, Single[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - void Variant(UInt32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - void Variant(Int32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(UInt32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(Int32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - void Variant(UInt32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - void Variant(Int32 id, Double[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - void Variant(UInt32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - void Variant(Int32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - unsafe void Variant(UInt32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - unsafe void Variant(Int32 id, Double* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - void Variant(UInt32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - void Variant(Int32 id, Byte[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - void Variant(UInt32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - void Variant(Int32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(UInt32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - unsafe void Variant(Int32 id, Byte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] - public static - void Variant(UInt32 id, UInt16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] - public static - void Variant(UInt32 id, ref UInt16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* addr_ptr = &addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] - public static - unsafe void Variant(UInt32 id, UInt16* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] - public static - void Variant(UInt32 id, UInt32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] - public static - void Variant(UInt32 id, ref UInt32 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = &addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] - public static - unsafe void Variant(UInt32 id, UInt32* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,,] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] - public static - void EnableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glEnableVariantClientStateEXT")] - public static - void EnableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] - public static - void DisableVariantClientState(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] - public static - void DisableVariantClientState(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableVariantClientStateEXT((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindLightParameterEXT")] - public static - Int32 BindLightParameter(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindLightParameterEXT((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindMaterialParameterEXT")] - public static - Int32 BindMaterialParameter(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTexGenParameterEXT")] - public static - Int32 BindTexGenParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindTextureUnitParameterEXT")] - public static - Int32 BindTextureUnitParameter(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.TextureUnit)unit, (OpenTK.Graphics.ExtVertexShader)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindParameterEXT")] - public static - Int32 BindParameter(OpenTK.Graphics.ExtVertexShader value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glBindParameterEXT((OpenTK.Graphics.ExtVertexShader)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] - public static - bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] - public static - bool IsVariantEnabled(Int32 id, OpenTK.Graphics.ExtVertexShader cap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)cap); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - unsafe void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - unsafe void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] - public static - unsafe void GetInvariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - unsafe void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - unsafe void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - unsafe void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtStencilTwoSide", Version = "1.3", EntryPoint = "glActiveStencilFaceEXT")] - public static - void ActiveStencilFace(OpenTK.Graphics.ExtStencilTwoSide face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.ExtStencilTwoSide)face); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDepthBoundsTest", Version = "1.2", EntryPoint = "glDepthBoundsEXT")] - public static - void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); - #if DEBUG - } - #endif - } - /// - /// Set the RGB blend equation and the alpha blend equation separately + /// Define an array of texture coordinates /// - /// + /// /// - /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. /// /// - /// + /// /// - /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// - [AutoGenerated(Category = "ExtBlendEquationSeparate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void BlendEquationSeparate(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.ExtBlendEquationSeparate)modeAlpha); + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - bool IsRenderbuffer(UInt32 renderbuffer) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - #if DEBUG + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] - public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.RenderbufferTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + pointer_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + pixels_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void GenRenderbuffers(Int32 n, [Out] Int32[] renderbuffers) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try { - fixed (Int32* renderbuffers_ptr = renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] - public static - unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glRenderbufferStorageEXT")] - public static - void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] - public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96404,7 +108848,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96412,9 +108856,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96424,8 +108868,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96434,2545 +108877,39 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - bool IsFramebuffer(UInt32 framebuffer) + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsFramebufferEXT")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebufferEXT((UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] - public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] - public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFramebufferEXT((OpenTK.Graphics.FramebufferTarget)target, (UInt32)framebuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [Out] out UInt32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glCheckFramebufferStatusEXT")] - public static - OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.FramebufferTarget)target); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] - public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture1DEXT")] - public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] - public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture2DEXT")] - public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] - public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] - public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] - public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenerateMipmapEXT")] - public static - void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMipmapEXT((OpenTK.Graphics.GenerateMipmapTarget)target); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtStencilClearTag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] - public static - void StencilClearTag(Int32 stencilTagBits, UInt32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtStencilClearTag", Version = "1.5", EntryPoint = "glStencilClearTagEXT")] - public static - void StencilClearTag(Int32 stencilTagBits, Int32 stencilClearTag) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferBlit", Version = "1.5", EntryPoint = "glBlitFramebufferEXT")] - public static - void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ClearBufferMask)mask, (OpenTK.Graphics.ExtFramebufferBlit)filter); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferMultisample", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleEXT")] - public static - void RenderbufferStorageMultisample(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ExtFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.ExtFramebufferMultisample)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] - public static - unsafe void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - unsafe void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] - public static - unsafe void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] - public static - unsafe void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] - public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] - public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureLayerEXT")] - public static - void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] - public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureFaceEXT")] - public static - void FramebufferTextureFace(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] - public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] - public static - void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static - void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] - public static - void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1uiEXT")] - public static - void VertexAttribI1(UInt32 index, UInt32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] - public static - void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] - public static - void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] - public static - void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] - public static - unsafe void VertexAttribI1(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1uivEXT")] - public static - unsafe void VertexAttribI1(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - void VertexAttribI2(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - void VertexAttribI3(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - void VertexAttribI4(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - void VertexAttribI4(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - void VertexAttribI4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - void VertexAttribI4(UInt32 index, ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(UInt32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(UInt32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - void VertexAttribI4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - void VertexAttribI4(UInt32 index, ref UInt16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = &v) - { - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static - unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIuivEXT")] - public static - void GetVertexAttribI(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - void GetUniform(UInt32 program, Int32 location, [Out] UInt32[] @params) + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98982,7 +108919,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = @params) { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -98990,68 +108927,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - void GetUniform(UInt32 program, Int32 location, [Out] out UInt32 @params) + void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99061,8 +108940,7 @@ namespace OpenTK.Graphics { fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -99072,26 +108950,1982 @@ namespace OpenTK.Graphics /// - /// Returns the value of a uniform variable + /// Specify a one-dimensional texture subimage /// - /// + /// /// - /// Specifies the program object to be queried. + /// Specifies the target texture. Must be GL_TEXTURE_1D. /// /// - /// + /// /// - /// Specifies the location of the uniform variable to be queried. + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - /// + /// /// - /// Returns the value of the specified uniform variable. + /// Specifies a texel offset in the x direction within the texture array. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] + public static + void TextureBuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] + public static + void TextureBuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureLightEXT")] + public static + void TextureLight(OpenTK.Graphics.ExtLightTexture pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureLightEXT((OpenTK.Graphics.ExtLightTexture)pname); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureMaterialEXT")] + public static + void TextureMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureMaterialEXT((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTexturePerturbNormal", Version = "1.1", EntryPoint = "glTextureNormalEXT")] + public static + void TextureNormal(OpenTK.Graphics.ExtTexturePerturbNormal mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureNormalEXT((OpenTK.Graphics.ExtTexturePerturbNormal)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99101,8 +110935,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -99110,35 +110943,859 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + public static + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] + public static + void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] + public static + void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); #if DEBUG } #endif @@ -99146,91 +111803,27 @@ namespace OpenTK.Graphics /// - /// Returns the value of a uniform variable + /// Specify the value of a uniform variable for the current program object /// - /// - /// - /// Specifies the program object to be queried. - /// - /// /// /// - /// Specifies the location of the uniform variable to be queried. + /// Specifies the location of the uniform variable to be modified. /// /// - /// + /// /// - /// Returns the value of the specified uniform variable. + /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + void Uniform1(Int32 location, Int32 v0) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] - public static - Int32 GetFragDataLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] - public static - Int32 GetFragDataLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); #if DEBUG } #endif @@ -99279,15 +111872,183 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static - void Uniform1(Int32 location, Int32 v0) + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } #if DEBUG } #endif @@ -99365,192 +112126,9 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static - void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] - public static - void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] - public static - void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] - public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref UInt32 value) + void Uniform2(Int32 location, Int32 count, ref UInt32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99560,41 +112138,7 @@ namespace OpenTK.Graphics { fixed (UInt32* value_ptr = &value) { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); } } #if DEBUG @@ -99617,44 +112161,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); #if DEBUG } #endif @@ -99696,6 +112211,35 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -99743,22 +112287,15 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) + void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); #if DEBUG } #endif @@ -99779,79 +112316,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); #if DEBUG } #endif @@ -99873,7 +112346,7 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static - void Uniform3(Int32 location, Int32 count, Int32[] value) + void Uniform3(Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99881,7 +112354,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = value) + fixed (Int32* value_ptr = &value) { Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); } @@ -99940,21 +112413,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static - void Uniform3(Int32 location, Int32 count, ref Int32 value) + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); #if DEBUG } #endif @@ -100003,16 +112471,113 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + void Uniform3(Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] + public static + void Uniform3(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + public static + void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); #if DEBUG } #endif @@ -100054,40 +112619,6 @@ namespace OpenTK.Graphics } - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specify the value of a uniform variable for the current program object /// @@ -100104,19 +112635,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static - void Uniform4(Int32 location, Int32 count, ref UInt32 value) + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); #if DEBUG } #endif @@ -100186,6 +112711,40 @@ namespace OpenTK.Graphics } + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specify the value of a uniform variable for the current program object /// @@ -100202,200 +112761,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedEXT")] - public static - void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)start, (Int32)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] - public static - void ColorMaskIndexed(UInt32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] - public static - void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) + void Uniform4(Int32 location, Int32 count, ref UInt32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100403,9 +112769,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* data_ptr = data) + fixed (UInt32* value_ptr = &value) { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); } } #if DEBUG @@ -100413,315 +112779,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glEnableIndexedEXT")] - public static - void EnableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glDisableIndexedEXT")] - public static - void DisableIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] - public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] - public static - void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static void UniformBuffer(Int32 program, Int32 location, Int32 buffer) @@ -100737,13155 +112794,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static - Int32 GetUniformBufferSize(UInt32 program, Int32 location) + void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformBufferSizeEXT")] + [AutoGenerated(Category = "ExtCompiledVertexArray", Version = "1.1", EntryPoint = "glUnlockArraysEXT")] public static - Int32 GetUniformBufferSize(Int32 program, Int32 location) + void UnlockArrays() { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] - public static - IntPtr GetUniformOffset(UInt32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glGetUniformOffsetEXT")] - public static - IntPtr GetUniformOffset(Int32 program, Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] - public static - void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glClearColorIiEXT")] - public static - void ClearColorI(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glClearColorIuiEXT")] - public static - void ClearColorI(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBeginTransformFeedbackEXT")] - public static - void BeginTransformFeedback(OpenTK.Graphics.ExtTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.ExtTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glEndTransformFeedbackEXT")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedbackEXT(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferRangeEXT")] - public static - void BindBufferRange(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] - public static - void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferOffsetEXT")] - public static - void BindBufferOffset(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] - public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ExtTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) - { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glClientAttribDefaultEXT")] - public static - void ClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glPushClientAttribDefaultEXT")] - public static - void PushClientAttribDefault(OpenTK.Graphics.ClientAttribMask mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.ClientAttribMask)mask); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] - public static - unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - unsafe void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] - public static - void MatrixLoadIdentity(OpenTK.Graphics.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.MatrixMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatefEXT")] - public static - void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixRotatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixRotatedEXT")] - public static - void MatrixRotate(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixRotatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScalefEXT")] - public static - void MatrixScale(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixScalefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixScaledEXT")] - public static - void MatrixScale(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixScaledEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatefEXT")] - public static - void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixTranslatedEXT")] - public static - void MatrixTranslate(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixFrustumEXT")] - public static - void MatrixFrustum(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixFrustumEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixOrthoEXT")] - public static - void MatrixOrtho(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixOrthoEXT((OpenTK.Graphics.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPopEXT")] - public static - void MatrixPop(OpenTK.Graphics.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixPopEXT((OpenTK.Graphics.MatrixMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixPushEXT")] - public static - void MatrixPush(OpenTK.Graphics.MatrixMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixPushEXT((OpenTK.Graphics.MatrixMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static - void CopyTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static - void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static - void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] - public static - void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static - void CopyTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage1DEXT")] - public static - void CopyTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static - void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] - public static - void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static - void CopyTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage3DEXT")] - public static - void CopyTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameteriEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static - void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterivEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] - public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage1DEXT")] - public static - void CopyMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexImage2DEXT")] - public static - void CopyMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage1DEXT")] - public static - void CopyMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage2DEXT")] - public static - void CopyMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] - public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] - public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterivEXT")] - public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyMultiTexSubImage3DEXT")] - public static - void CopyMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] - public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 texture) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)texture); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] - public static - void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] - public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.EnableCap)array, (UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfvEXT")] - public static - unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnviEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnviEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static - void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvivEXT")] - public static - unsafe void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendEXT")] - public static - void MultiTexGend(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGendEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenfEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfvEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGeniEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGeniEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenivEXT")] - public static - unsafe void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] - public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - unsafe void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - unsafe void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] - public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] - public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] - public static - void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] - public static - unsafe void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - unsafe void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] - public static - unsafe void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - unsafe void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - unsafe void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] - public static - unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIivEXT")] - public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] - public static - unsafe void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2iEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] - public static - unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] - public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] - public static - unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uiEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uiEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uiEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uiEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2uivEXT")] - public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static - unsafe IntPtr MapNamedBuffer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMapNamedBufferEXT")] - public static - unsafe IntPtr MapNamedBuffer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess access) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)access); + Delegates.glUnlockArraysEXT(); #if DEBUG } #endif @@ -113921,9 +112852,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void Variant(UInt32 id, SByte[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113931,29 +112862,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (SByte* addr_ptr = addr) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); } } #if DEBUG @@ -113962,9 +112873,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + unsafe void Variant(UInt32 id, SByte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + public static + void Variant(UInt32 id, ref SByte addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113972,10 +112898,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (SByte* addr_ptr = &addr) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr_ptr); } } #if DEBUG @@ -113983,9 +112908,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void Variant(Int32 id, ref Double addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113993,10 +112918,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Double* addr_ptr = &addr) { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(Int32 id, Double[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); } } #if DEBUG @@ -114005,105 +112949,20 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - unsafe void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + void Variant(UInt32 id, Double[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] - public static - unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } } #if DEBUG } @@ -114111,46 +112970,20 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) - where T2 : struct + void Variant(UInt32 id, ref Double addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try + unsafe { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); + fixed (Double* addr_ptr = &addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } } #if DEBUG } @@ -114158,46 +112991,50 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct + unsafe void Variant(Int32 id, Double* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct + unsafe void Variant(UInt32 id, Double* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + #if DEBUG } - finally + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(UInt32 id, ref Single addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - @params_ptr.Free(); + #endif + unsafe + { + fixed (Single* addr_ptr = &addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } } #if DEBUG } @@ -114205,46 +113042,40 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) - where T2 : struct + void Variant(UInt32 id, Single[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try + unsafe { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); + fixed (Single* addr_ptr = addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) - where T2 : struct + void Variant(Int32 id, Single[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try + unsafe { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); + fixed (Single* addr_ptr = addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } } #if DEBUG } @@ -114252,122 +113083,255 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + unsafe void Variant(Int32 id, Single* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + unsafe void Variant(UInt32 id, Single* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(Int32 id, ref Single addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = &addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(UInt32 id, ref Int32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(Int32 id, Int32[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(UInt32 id, Int32[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + unsafe void Variant(Int32 id, Int32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + unsafe void Variant(UInt32 id, Int32* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] + public static + void Variant(Int32 id, ref Int32 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* addr_ptr = &addr) + { + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } @@ -114375,93 +113339,122 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,,] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - data_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } @@ -114469,96 +113462,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void TextureBuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) + unsafe void Variant(UInt32 id, Int16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] - public static - void TextureBuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] - public static - void MultiTexBuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static - void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] - public static - void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + void Variant(UInt32 id, ref Int16 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114566,9 +113487,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int16* addr_ptr = &addr) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); } } #if DEBUG @@ -114576,9 +113497,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + void Variant(Int32 id, Int16[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114586,9 +113507,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int16* addr_ptr = addr) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); } } #if DEBUG @@ -114597,9 +113518,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + void Variant(UInt32 id, Int16[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114607,10 +113528,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int16* addr_ptr = addr) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); } } #if DEBUG @@ -114618,9 +113538,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + void Variant(Int32 id, ref Int16 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114628,10 +113548,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int16* addr_ptr = &addr) { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); } } #if DEBUG @@ -114640,184 +113559,39 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static - unsafe void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + unsafe void Variant(Int32 id, Int16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + unsafe void Variant(UInt32 id, Byte* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCheckNamedFramebufferStatusEXT")] - public static - OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatus(Int32 framebuffer, OpenTK.Graphics.FramebufferTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferTarget)target); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static - void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] - public static - void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static - void NamedFramebufferTexture2D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture2DEXT")] - public static - void NamedFramebufferTexture2D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static - void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] - public static - void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void Variant(UInt32 id, Byte[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114825,9 +113599,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Byte* addr_ptr = addr) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); } } #if DEBUG @@ -114835,9 +113609,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void Variant(Int32 id, Byte[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114845,9 +113619,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Byte* addr_ptr = addr) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(Int32 id, ref Byte addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); } } #if DEBUG @@ -114856,9 +113650,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void Variant(UInt32 id, ref Byte addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114866,31 +113660,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Byte* addr_ptr = &addr) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); } } #if DEBUG @@ -114899,111 +113671,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void Variant(Int32 id, Byte* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static - unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static - void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static - void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateMultiTexMipmapEXT")] - public static - void GenerateMultiTexMipmap(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] - public static - void FramebufferDrawBuffer(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBufferEXT")] - public static - void FramebufferDrawBuffer(Int32 framebuffer, OpenTK.Graphics.DrawBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.DrawBufferMode)mode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) + void Variant(UInt32 id, UInt32[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115011,29 +113696,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) + fixed (UInt32* addr_ptr = addr) { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); } } #if DEBUG @@ -115042,29 +113707,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static - void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + unsafe void Variant(UInt32 id, UInt32* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); - } - } + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) + void Variant(UInt32 id, ref UInt32 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115072,9 +113732,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + fixed (UInt32* addr_ptr = &addr) { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); } } #if DEBUG @@ -115083,68 +113743,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static - unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + unsafe void Variant(UInt32 id, UInt16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static - unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static - void FramebufferReadBuffer(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] - public static - void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void Variant(UInt32 id, UInt16[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115152,29 +113768,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (UInt16* addr_ptr = addr) { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); } } #if DEBUG @@ -115183,9 +113779,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void Variant(UInt32 id, ref UInt16 addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115193,10 +113789,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt16* addr_ptr = &addr) { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); } } #if DEBUG @@ -115204,9 +113799,127 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void VertexAttribI1(Int32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + public static + void VertexAttribI1(UInt32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] + public static + unsafe void VertexAttribI1(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] + public static + unsafe void VertexAttribI1(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1uiEXT")] + public static + void VertexAttribI1(UInt32 index, UInt32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1uivEXT")] + public static + unsafe void VertexAttribI1(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(Int32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115214,10 +113927,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* v_ptr = &v) { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); } } #if DEBUG @@ -115226,247 +113938,1535 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - unsafe void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void VertexAttribI2(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void VertexAttribI2(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - void NamedRenderbufferStorageMultisample(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void VertexAttribI2(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void VertexAttribI2(Int32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - void NamedRenderbufferStorageMultisampleCoverage(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void VertexAttribI2(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT")] - public static - void NamedRenderbufferStorageMultisampleCoverage(Int32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] public static - void NamedFramebufferTexture(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureEXT")] - public static - void NamedFramebufferTexture(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static - void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void VertexAttribI2(UInt32 index, ref UInt32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - #if DEBUG + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] - public static - void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static - void NamedFramebufferTextureFace(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) + unsafe void VertexAttribI2(UInt32 index, UInt32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureFaceEXT")] - public static - void NamedFramebufferTextureFace(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.TextureTarget face) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.TextureTarget)face); + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static - void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void VertexAttribI2(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v_ptr); + } } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] - public static - void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] public static - void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexRenderbufferEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] public static - void MultiTexRenderbuffer(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtProvokingVertex", Version = "2.1", EntryPoint = "glProvokingVertexEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static - void ProvokingVertex(OpenTK.Graphics.ExtProvokingVertex mode) + void VertexAttribI3(Int32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProvokingVertexEXT((OpenTK.Graphics.ExtProvokingVertex)mode); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + void VertexAttribI3(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] + public static + void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + void VertexAttribI3(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + void VertexAttribI3(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + void VertexAttribI4(UInt32 index, ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + void VertexAttribI4(UInt32 index, SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + public static + void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4iEXT")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + unsafe void VertexAttribI4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(UInt32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] + public static + void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + void VertexAttribI4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uivEXT")] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + void VertexAttribI4(UInt32 index, ref UInt16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = &v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] + public static + void VertexAttribI4(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightfEXT")] + public static + void VertexWeight(Single weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightfEXT((Single)weight); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightfvEXT")] + public static + unsafe void VertexWeight(Single* weight) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightfvEXT((Single*)weight); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] + public static + void WriteMask(Int32 res, Int32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glWriteMaskEXT")] + public static + void WriteMask(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.ExtVertexShader)outX, (OpenTK.Graphics.ExtVertexShader)outY, (OpenTK.Graphics.ExtVertexShader)outZ, (OpenTK.Graphics.ExtVertexShader)outW); #if DEBUG } #endif @@ -115476,6 +115476,43 @@ namespace OpenTK.Graphics public static partial class Gremedy { + [AutoGenerated(Category = "GremedyFrameTerminator", Version = "1.0", EntryPoint = "glFrameTerminatorGREMEDY")] + public static + void FrameTerminator() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFrameTerminatorGREMEDY(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[,,] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static void StringMarker(Int32 len, IntPtr @string) @@ -115490,6 +115527,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[,] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static void StringMarker(Int32 len, [In, Out] ref T1 @string) @@ -115536,79 +115596,117 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [In, Out] T1[,] @string) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [In, Out] T1[,,] @string) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "GremedyFrameTerminator", Version = "1.0", EntryPoint = "glFrameTerminatorGREMEDY")] - public static - void FrameTerminator() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrameTerminatorGREMEDY(); - #if DEBUG - } - #endif - } - } public static partial class HP { - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameteriHP")] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param) + void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glImageTransformParameteriHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32)param); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] + public static + unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + public static + unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); #if DEBUG } #endif @@ -115628,41 +115726,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] - public static - void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] - public static - unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterfvHP")] public static void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single[] @params) @@ -115698,9 +115761,38 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameteriHP")] public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32[] @params) + void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameteriHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] + public static + unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] + public static + void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -115710,7 +115802,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -115718,548 +115810,27 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterivHP")] - public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glGetImageTransformParameterfvHP")] - public static - unsafe void GetImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Single*)@params); - #if DEBUG - } - #endif - } - } public static partial class Ibm { - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void MultiModeDrawArrays(OpenTK.Graphics.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - void MultiModeDrawArrays(ref OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* first_ptr = &first) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); + pointer_ptr.Free(); } #if DEBUG } @@ -116303,29 +115874,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] - public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) @@ -116351,7 +115899,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -116372,132 +115920,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] - public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] - public static - void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = pointer) - { - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static void EdgeFlagPointerList(Int32 stride, ref bool pointer, Int32 ptrstride) @@ -116518,6 +115940,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] + public static + void EdgeFlagPointerList(Int32 stride, bool[] pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = pointer) + { + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer_ptr, (Int32)ptrstride); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static @@ -116533,6 +115975,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] public static void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) @@ -116549,7 +116014,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -116616,9 +116081,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -116628,7 +116093,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -116722,9 +116187,461 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + void MultiModeDrawArrays(ref OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* first_ptr = &first) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + void MultiModeDrawArrays(OpenTK.Graphics.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -116734,7 +116651,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -116759,29 +116676,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) @@ -116807,7 +116701,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -116851,23 +116745,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] - public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -116877,7 +116757,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -116888,9 +116768,23 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -116900,7 +116794,53 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } finally { @@ -116957,15 +116897,61 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -116973,7 +116959,30 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -117019,22 +117028,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) - where T3 : struct + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); #if DEBUG } #endif @@ -117042,7 +117042,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -117111,69 +117111,31 @@ namespace OpenTK.Graphics { /// - /// Define an array of vertex data + /// Define an array of colors /// /// /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -117183,7 +117145,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117196,31 +117158,69 @@ namespace OpenTK.Graphics /// - /// Define an array of vertex data + /// Define an array of colors /// /// /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -117230,7 +117230,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117243,31 +117243,31 @@ namespace OpenTK.Graphics /// - /// Define an array of vertex data + /// Define an array of colors /// /// /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -117277,7 +117277,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117290,31 +117290,31 @@ namespace OpenTK.Graphics /// - /// Define an array of vertex data + /// Define an array of colors /// /// /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. /// /// /// /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -117324,124 +117324,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117538,70 +117421,27 @@ namespace OpenTK.Graphics /// - /// Define an array of colors + /// Define an array of normals /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// /// /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) - where T2 : struct + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[] pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117610,7 +117450,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117623,32 +117463,60 @@ namespace OpenTK.Graphics /// - /// Define an array of colors + /// Define an array of normals /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// /// /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. /// /// /// /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. /// /// /// /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) - where T2 : struct + void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] ref T1 pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -117657,186 +117525,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -117942,6 +117631,91 @@ namespace OpenTK.Graphics } + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of texture coordinates /// @@ -117988,6 +117762,232 @@ namespace OpenTK.Graphics #endif } + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + } public static partial class Mesa @@ -118038,21 +118038,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static - void WindowPos2(Double[] v) + unsafe void WindowPos2(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos2dvMESA((Double*)v_ptr); - } - } + Delegates.glWindowPos2dvMESA((Double*)v); #if DEBUG } #endif @@ -118096,16 +118091,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static - unsafe void WindowPos2(Double* v) + void WindowPos2(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2dvMESA((Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos2dvMESA((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -118143,21 +118143,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static - void WindowPos2(Single[] v) + unsafe void WindowPos2(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fvMESA((Single*)v_ptr); - } - } + Delegates.glWindowPos2fvMESA((Single*)v); #if DEBUG } #endif @@ -118201,16 +118196,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static - unsafe void WindowPos2(Single* v) + void WindowPos2(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2fvMESA((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fvMESA((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -118248,21 +118248,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static - void WindowPos2(Int32[] v) + unsafe void WindowPos2(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2ivMESA((Int32*)v_ptr); - } - } + Delegates.glWindowPos2ivMESA((Int32*)v); #if DEBUG } #endif @@ -118306,16 +118301,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static - unsafe void WindowPos2(Int32* v) + void WindowPos2(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2ivMESA((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2ivMESA((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -118353,21 +118353,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static - void WindowPos2(Int16[] v) + unsafe void WindowPos2(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2svMESA((Int16*)v_ptr); - } - } + Delegates.glWindowPos2svMESA((Int16*)v); #if DEBUG } #endif @@ -118411,16 +118406,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static - unsafe void WindowPos2(Int16* v) + void WindowPos2(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2svMESA((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2svMESA((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -118458,21 +118458,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static - void WindowPos3(Double[] v) + unsafe void WindowPos3(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos3dvMESA((Double*)v_ptr); - } - } + Delegates.glWindowPos3dvMESA((Double*)v); #if DEBUG } #endif @@ -118516,16 +118511,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static - unsafe void WindowPos3(Double* v) + void WindowPos3(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3dvMESA((Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos3dvMESA((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -118563,21 +118563,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static - void WindowPos3(Single[] v) + unsafe void WindowPos3(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fvMESA((Single*)v_ptr); - } - } + Delegates.glWindowPos3fvMESA((Single*)v); #if DEBUG } #endif @@ -118621,16 +118616,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static - unsafe void WindowPos3(Single* v) + void WindowPos3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3fvMESA((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fvMESA((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -118668,21 +118668,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static - void WindowPos3(Int32[] v) + unsafe void WindowPos3(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3ivMESA((Int32*)v_ptr); - } - } + Delegates.glWindowPos3ivMESA((Int32*)v); #if DEBUG } #endif @@ -118726,16 +118721,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static - unsafe void WindowPos3(Int32* v) + void WindowPos3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3ivMESA((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3ivMESA((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -118773,21 +118773,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static - void WindowPos3(Int16[] v) + unsafe void WindowPos3(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos3svMESA((Int16*)v_ptr); - } - } + Delegates.glWindowPos3svMESA((Int16*)v); #if DEBUG } #endif @@ -118831,16 +118826,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static - unsafe void WindowPos3(Int16* v) + void WindowPos3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos3svMESA((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos3svMESA((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -118878,21 +118878,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static - void WindowPos4(Double[] v) + unsafe void WindowPos4(Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glWindowPos4dvMESA((Double*)v_ptr); - } - } + Delegates.glWindowPos4dvMESA((Double*)v); #if DEBUG } #endif @@ -118936,16 +118931,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static - unsafe void WindowPos4(Double* v) + void WindowPos4(Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos4dvMESA((Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glWindowPos4dvMESA((Double*)v_ptr); + } + } #if DEBUG } #endif @@ -118983,21 +118983,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static - void WindowPos4(Single[] v) + unsafe void WindowPos4(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos4fvMESA((Single*)v_ptr); - } - } + Delegates.glWindowPos4fvMESA((Single*)v); #if DEBUG } #endif @@ -119041,16 +119036,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static - unsafe void WindowPos4(Single* v) + void WindowPos4(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos4fvMESA((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos4fvMESA((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -119088,21 +119088,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static - void WindowPos4(Int32[] v) + unsafe void WindowPos4(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos4ivMESA((Int32*)v_ptr); - } - } + Delegates.glWindowPos4ivMESA((Int32*)v); #if DEBUG } #endif @@ -119146,16 +119141,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static - unsafe void WindowPos4(Int32* v) + void WindowPos4(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos4ivMESA((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos4ivMESA((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -119193,21 +119193,16 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static - void WindowPos4(Int16[] v) + unsafe void WindowPos4(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos4svMESA((Int16*)v_ptr); - } - } + Delegates.glWindowPos4svMESA((Int16*)v); #if DEBUG } #endif @@ -119251,16 +119246,21 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static - unsafe void WindowPos4(Int16* v) + void WindowPos4(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos4svMESA((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos4svMESA((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -119270,29 +119270,53 @@ namespace OpenTK.Graphics public static partial class NV { - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] public static - void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool[] @params) + void ActiveVarying(Int32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (bool* @params_ptr = @params) - { - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); - } - } + Delegates.glActiveVaryingNV((UInt32)program, (String)name); #if DEBUG } #endif } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] public static - void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] out bool @params) + void ActiveVarying(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glActiveVaryingNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, ref Int32 programs, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119300,10 +119324,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* @params_ptr = &@params) + fixed (Int32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) { - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); - @params = *@params_ptr; + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; } } #if DEBUG @@ -119312,135 +119338,502 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - unsafe void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool* @params) + unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [Out] bool* residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params); + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); #if DEBUG } #endif } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glFlushVertexArrayRangeNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - void FlushVertexArrayRange() + bool AreProgramsResident(Int32 n, Int32[] programs, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlushVertexArrayRangeNV(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int32* programs_ptr = programs) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + } } #if DEBUG } #endif } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) - where T1 : struct + bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (UInt32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } } #if DEBUG } #endif } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) - where T1 : struct + bool AreProgramsResident(Int32 n, UInt32[] programs, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (UInt32* programs_ptr = programs) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + } } #if DEBUG } #endif } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) - where T1 : struct + void BeginConditionalRender(Int32 id, OpenTK.Graphics.NvConditionalRender mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); + #if DEBUG } - finally + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] + public static + void BeginConditionalRender(UInt32 id, OpenTK.Graphics.NvConditionalRender mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - pointer_ptr.Free(); + #endif + Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] + public static + void BeginOcclusionQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] + public static + void BeginOcclusionQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBeginTransformFeedbackNV")] + public static + void BeginTransformFeedback(OpenTK.Graphics.NvTransformFeedback primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback)primitiveMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] + public static + void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] + public static + void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] + public static + void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] + public static + void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + public static + void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] + public static + void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] + public static + void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] + public static + void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static + void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + public static + void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); + #if DEBUG + } + #endif + } + + + /// + /// Specify the clear value for the depth buffer + /// + /// + /// + /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. + /// + /// + [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glClearDepthdNV")] + public static + void ClearDepth(Double depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearDepthdNV((Double)depth); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hNV")] + public static + void Color3h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + void Color3h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glColor3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + unsafe void Color3h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] + public static + void Color3h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glColor3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hNV")] + public static + void Color4h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue, OpenTK.Math.Half alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue, (OpenTK.Math.Half)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + void Color4h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glColor4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + unsafe void Color4h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + void Color4h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glColor4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerInputNV")] + public static + void CombinerInput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerOutputNV")] + public static + void CombinerOutput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerOutputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)abOutput, (OpenTK.Graphics.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.NvRegisterCombiners)scale, (OpenTK.Graphics.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfNV")] + public static + void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameterfNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single)param); #if DEBUG } #endif @@ -119481,15 +119874,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameteriNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single param) + void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCombinerParameterfNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single)param); + Delegates.glCombinerParameteriNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Int32)param); #if DEBUG } #endif @@ -119530,65 +119923,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameteriNV")] + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static - void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameteriNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerInputNV")] - public static - void CombinerInput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerOutputNV")] - public static - void CombinerOutput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerOutputNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)abOutput, (OpenTK.Graphics.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.NvRegisterCombiners)scale, (OpenTK.Graphics.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glFinalCombinerInputNV")] - public static - void FinalCombinerInput(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinalCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119598,7 +119935,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = @params) { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); } } #if DEBUG @@ -119606,9 +119943,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) + unsafe void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] + public static + void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119618,8 +119970,7 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); } } #if DEBUG @@ -119627,301 +119978,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] - public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] - public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] - public static - unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] - public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static @@ -119943,47 +119999,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, Int32[] fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static void DeleteFences(Int32 n, ref Int32 fences) @@ -120004,6 +120019,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static @@ -120022,13 +120052,790 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static - unsafe void DeleteFences(Int32 n, Int32* fences) + void DeleteFences(Int32 n, ref UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] + public static + void DeleteFences(Int32 n, Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + unsafe void DeleteProgram(Int32 n, Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + void DeleteTransformFeedback(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + public static + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthBoundsdNV")] + public static + void DepthBounds(Double zmin, Double zmax) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); + #if DEBUG + } + #endif + } + + + /// + /// Specify mapping of depth values from normalized device coordinates to window coordinates + /// + /// + /// + /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. + /// + /// + /// + /// + /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. + /// + /// + [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthRangedNV")] + public static + void DepthRange(Double zNear, Double zFar) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + public static + void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glEndConditionalRenderNV")] + public static + void EndConditionalRender() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndConditionalRenderNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glEndOcclusionQueryNV")] + public static + void EndOcclusionQuery() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndOcclusionQueryNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glEndTransformFeedbackNV")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glEvalMapsNV")] + public static + void EvalMap(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalMapsNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glFinalCombinerInputNV")] + public static + void FinalCombinerInput(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinalCombinerInputNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)input, (OpenTK.Graphics.NvRegisterCombiners)mapping, (OpenTK.Graphics.NvRegisterCombiners)componentUsage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] + public static + void FinishFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFinishFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glFlushPixelDataRangeNV")] + public static + void FlushPixelDataRange(OpenTK.Graphics.NvPixelDataRange target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glFlushVertexArrayRangeNV")] + public static + void FlushVertexArrayRange() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFlushVertexArrayRangeNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glFogCoordhNV")] + public static + void FogCoordh(OpenTK.Math.Half fog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordhNV((OpenTK.Math.Half)fog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glFogCoordhvNV")] + public static + unsafe void FogCoordh(OpenTK.Math.Half* fog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordhvNV((OpenTK.Math.Half*)fog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [Out] out UInt32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } #if DEBUG } #endif @@ -120075,49 +120882,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [Out] out UInt32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] - public static - void GenFences(Int32 n, [Out] out Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static @@ -120148,68 +120912,789 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glIsFenceNV")] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static - bool IsFence(UInt32 fence) + void GenFences(Int32 n, [Out] out Int32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsFenceNV((UInt32)fence); - #if DEBUG + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glIsFenceNV")] - public static - bool IsFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFenceNV((UInt32)fence); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static - bool TestFence(UInt32 fence) + unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] - public static - bool TestFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glTestFenceNV((UInt32)fence); + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); #if DEBUG } #endif } [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [Out] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + public static + void GenOcclusionQueries(Int32 n, [Out] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] UInt32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] out Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] out UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [Out] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [Out] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [Out] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [Out] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + unsafe void GenTransformFeedback(Int32 n, [Out] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) + { + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + unsafe void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolea(OpenTK.Graphics.GetPName pname, [Out] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterfvNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + unsafe void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerOutputParameterivNV")] + public static + void GetCombinerOutputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + unsafe void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) + void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120227,9 +121712,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) + void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120269,6 +121755,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] out Int32 @params) @@ -120291,388 +121807,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(UInt32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] - public static - void FinishFence(Int32 fence) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFinishFenceNV((UInt32)fence); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] - public static - void SetFence(UInt32 fence, OpenTK.Graphics.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] - public static - void SetFence(Int32 fence, OpenTK.Graphics.NvFence condition) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] - public static - unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Single @params) + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120682,7 +121833,49 @@ namespace OpenTK.Graphics { fixed (Single* @params_ptr = &@params) { - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -120691,15 +121884,263 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] public static - unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params) + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -120720,91 +122161,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) @@ -120828,30 +122184,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) @@ -120875,6 +122207,54 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static @@ -120899,6 +122279,67 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) @@ -120922,62 +122363,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] - public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] - public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] - public static - unsafe void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterfvNV")] public static void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) @@ -121034,51 +122419,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121088,7 +122431,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -121097,1088 +122440,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glEvalMapsNV")] - public static - void EvalMap(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalMapsNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] - public static - void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] - public static - void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] - public static - unsafe void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - unsafe void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, UInt32[] programs, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, Int32[] programs, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref Int32 programs, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - unsafe bool AreProgramsResident(Int32 n, UInt32* programs, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - unsafe bool AreProgramsResident(Int32 n, Int32* programs, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] - public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, ref UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] out UInt32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122188,7 +122452,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -122196,28 +122460,154 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] public static - void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + unsafe void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + public static + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122227,7 +122617,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -122235,29 +122625,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static - void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122267,7 +122637,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -122276,6 +122646,293 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Returns a parameter from a program object @@ -122384,10 +123041,29 @@ namespace OpenTK.Graphics #endif } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static - void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122395,9 +123071,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* program_ptr = program) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -122405,9 +123082,28 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static - void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122415,9 +123111,671 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* program_ptr = program) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] + public static + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -122447,6 +123805,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + unsafe void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Byte program) @@ -122486,13 +123859,39 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - unsafe void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) + void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + } + } #if DEBUG } #endif @@ -122513,16 +123912,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -122550,9 +123955,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) + unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122560,10 +123981,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* location_ptr = &location) { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; } } #if DEBUG @@ -122571,6 +123992,86 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* location_ptr = &location) + { + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] + public static + Int32 GetVaryingLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] + public static + Int32 GetVaryingLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + /// /// Return a generic vertex attribute parameter @@ -122606,40 +124107,6 @@ namespace OpenTK.Graphics } - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - /// /// Return a generic vertex attribute parameter /// @@ -122681,6 +124148,40 @@ namespace OpenTK.Graphics } + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + /// /// Return a generic vertex attribute parameter /// @@ -122721,115 +124222,6 @@ namespace OpenTK.Graphics } - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// /// Return a generic vertex attribute parameter /// @@ -122889,15 +124281,22 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -122923,15 +124322,89 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -122997,98 +124470,50 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); #if DEBUG } #endif } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); #if DEBUG } #endif @@ -123141,10 +124566,85 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -123212,9 +124712,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -123235,6 +124736,464 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] + public static + void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + unsafe void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + unsafe void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glIsFenceNV")] + public static + bool IsFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] + public static + bool IsOcclusionQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] + public static + bool IsOcclusionQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsOcclusionQueryNV((UInt32)id); + #if DEBUG + } + #endif + } + /// /// Determines if a name corresponds to a program object @@ -123282,63 +125241,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) + bool IsTransformFeedback(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } + return Delegates.glIsTransformFeedbackNV((UInt32)id); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + bool IsTransformFeedback(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* program_ptr = &program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } + return Delegates.glIsTransformFeedbackNV((UInt32)id); #if DEBUG } #endif @@ -123379,6 +125305,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static @@ -123394,6 +125341,2396 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hNV")] + public static + void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hvNV")] + public static + unsafe void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + unsafe void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] + public static + unsafe void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r, OpenTK.Math.Half q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r, (OpenTK.Math.Half)q); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hNV")] + public static + void Normal3h(OpenTK.Math.Half nx, OpenTK.Math.Half ny, OpenTK.Math.Half nz) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hNV((OpenTK.Math.Half)nx, (OpenTK.Math.Half)ny, (OpenTK.Math.Half)nz); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + void Normal3h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glNormal3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + unsafe void Normal3h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + void Normal3h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glNormal3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] + public static + void PauseTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPauseTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] + public static + void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameteriNV((OpenTK.Graphics.NvPointSprite)pname, (Int32)param); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + public static + void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + public static + unsafe void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] + public static + void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] + public static + void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.NvPresentVideo target3, Int32 fill3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] + public static + void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, Int32 key1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] + public static + void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] + public static + void PrimitiveRestartIndex(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndexNV((UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] + public static + void PrimitiveRestartIndex(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartIndexNV((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartNV")] + public static + void PrimitiveRestart() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPrimitiveRestartNV(); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uiNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uiNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* v_ptr = &v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* v_ptr = &v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + { + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] public static @@ -123423,27 +127760,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] v) @@ -123505,6 +127821,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static @@ -123535,6 +127872,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] public static @@ -123550,15 +127901,37 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameter4fNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -123585,6 +127958,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] v) @@ -123605,62 +127998,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static @@ -123676,6 +128013,77 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] public static @@ -123717,81 +128125,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123809,9 +128145,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123850,21 +128187,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) + unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); - } - } + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); #if DEBUG } #endif @@ -123885,16 +128217,49 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glProgramVertexLimitNV")] + public static + void ProgramVertexLimit(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramVertexLimitNV((OpenTK.Graphics.NvGeometryProgram4)target, (Int32)limit); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFramebufferMultisampleCoverage", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] + public static + void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); #if DEBUG } #endif @@ -123903,39 +128268,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - void RequestResidentProgram(Int32 n, UInt32[] programs) + unsafe void RequestResidentProgram(Int32 n, UInt32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - void RequestResidentProgram(Int32 n, Int32[] programs) + unsafe void RequestResidentProgram(Int32 n, Int32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); #if DEBUG } #endif @@ -123982,16 +128336,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - unsafe void RequestResidentProgram(Int32 n, UInt32* programs) + void RequestResidentProgram(Int32 n, Int32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } #if DEBUG } #endif @@ -124000,13 +128359,468 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - unsafe void RequestResidentProgram(Int32 n, Int32* programs) + void RequestResidentProgram(Int32 n, UInt32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + unsafe + { + fixed (UInt32* programs_ptr = programs) + { + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] + public static + void ResumeTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glResumeTransformFeedbackNV(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] + public static + void SampleMaskIndexed(Int32 index, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] + public static + void SampleMaskIndexed(UInt32 index, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hNV")] + public static + void SecondaryColor3h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + unsafe void SecondaryColor3h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + void SecondaryColor3h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + void SecondaryColor3h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] + public static + void SetFence(Int32 fence, OpenTK.Graphics.NvFence condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] + public static + void SetFence(UInt32 fence, OpenTK.Graphics.NvFence condition) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.NvFence)condition); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(Int32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glTestFenceNV")] + public static + bool TestFence(UInt32 fence) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestFenceNV((UInt32)fence); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord1hNV")] + public static + void TexCoord1h(OpenTK.Math.Half s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1hNV((OpenTK.Math.Half)s); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord1hvNV")] + public static + unsafe void TexCoord1h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord1hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hNV")] + public static + void TexCoord2h(OpenTK.Math.Half s, OpenTK.Math.Half t) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + void TexCoord2h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + unsafe void TexCoord2h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] + public static + void TexCoord2h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hNV")] + public static + void TexCoord3h(OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + void TexCoord3h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + unsafe void TexCoord3h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] + public static + void TexCoord3h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hNV")] + public static + void TexCoord4h(OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r, OpenTK.Math.Half q) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r, (OpenTK.Math.Half)q); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + void TexCoord4h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + unsafe void TexCoord4h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] + public static + void TexCoord4h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + public static + void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] + public static + void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + public static + void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); #if DEBUG } #endif @@ -124027,501 +128841,455 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] - public static - void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct + unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int32* attribs_ptr = attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } } #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int32* attribs_ptr = attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } } #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct + void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int32* attribs_ptr = &attribs) + { + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } } #if DEBUG } #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct + unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = &locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* locations_ptr = &locations) + { + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hNV")] + public static + void Vertex2h(OpenTK.Math.Half x, OpenTK.Math.Half y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + unsafe void Vertex2h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + void Vertex2h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertex2hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + void Vertex2h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertex2hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hNV")] + public static + void Vertex3h(OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + unsafe void Vertex3h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + void Vertex3h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertex3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] + public static + void Vertex3h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertex3hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hNV")] + public static + void Vertex4h(OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + void Vertex4h(OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertex4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + unsafe void Vertex4h(OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4hvNV((OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + void Vertex4h(ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertex4hvNV((OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124530,7 +129298,7 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -124541,44 +129309,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124587,7 +129321,53 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -124612,10 +129392,9 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static - void VertexAttrib1(UInt32 index, Double x) + void VertexAttrib1(Int32 index, Double x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124641,9 +129420,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static - void VertexAttrib1(Int32 index, Double x) + void VertexAttrib1(UInt32 index, Double x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124787,7 +129567,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static - unsafe void VertexAttrib1(UInt32 index, Single* v) + unsafe void VertexAttrib1(Int32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124816,7 +129596,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static - unsafe void VertexAttrib1(Int32 index, Single* v) + unsafe void VertexAttrib1(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124828,6 +129608,65 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] + public static + void VertexAttrib1h(UInt32 index, OpenTK.Math.Half x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Math.Half)x); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] + public static + void VertexAttrib1h(Int32 index, OpenTK.Math.Half x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Math.Half)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] + public static + unsafe void VertexAttrib1h(UInt32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] + public static + unsafe void VertexAttrib1h(Int32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + /// /// Specifies the value of a generic vertex attribute @@ -125017,88 +129856,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - void VertexAttrib2(UInt32 index, Double[] v) + unsafe void VertexAttrib2(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -125184,13 +129948,53 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - unsafe void VertexAttrib2(Int32 index, Double* v) + void VertexAttrib2(UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -125211,9 +130015,43 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + void VertexAttrib2(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static - void VertexAttrib2(UInt32 index, Single x, Single y) + void VertexAttrib2(Int32 index, Single x, Single y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125239,9 +130077,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static - void VertexAttrib2(Int32 index, Single x, Single y) + void VertexAttrib2(UInt32 index, Single x, Single y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125323,6 +130162,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -125358,6 +130226,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -125391,59 +130288,142 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] public static - unsafe void VertexAttrib2(UInt32 index, Single* v) + void VertexAttrib2h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + Delegates.glVertexAttrib2hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y); #if DEBUG } #endif } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] public static - unsafe void VertexAttrib2(Int32 index, Single* v) + void VertexAttrib2h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + Delegates.glVertexAttrib2hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + unsafe void VertexAttrib2h(UInt32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(UInt32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + unsafe void VertexAttrib2h(Int32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(UInt32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -125507,75 +130487,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -125717,9 +130628,77 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static - void VertexAttrib3(UInt32 index, Double x, Double y, Double z) + void VertexAttrib3(Int32 index, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125745,9 +130724,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) + void VertexAttrib3(UInt32 index, Double x, Double y, Double z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125914,7 +130894,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static - unsafe void VertexAttrib3(UInt32 index, Double* v) + unsafe void VertexAttrib3(Int32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125943,7 +130923,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static - unsafe void VertexAttrib3(Int32 index, Double* v) + unsafe void VertexAttrib3(UInt32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125956,35 +130936,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] - public static - void VertexAttrib3(UInt32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -126013,6 +130964,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] + public static + void VertexAttrib3(UInt32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -126029,7 +131009,35 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static - void VertexAttrib3(UInt32 index, Single[] v) + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126063,7 +131071,42 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static - void VertexAttrib3(Int32 index, Single[] v) + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126117,69 +131160,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -126208,6 +131188,147 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + public static + void VertexAttrib3h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] + public static + void VertexAttrib3h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(Int32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + unsafe void VertexAttrib3h(UInt32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(UInt32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(UInt32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(Int32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + unsafe void VertexAttrib3h(Int32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + /// /// Specifies the value of a generic vertex attribute @@ -126266,75 +131387,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -126476,15 +131528,55 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static - void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) + void VertexAttrib3(UInt32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -126519,6 +131611,35 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] + public static + void VertexAttrib4(UInt32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -126554,6 +131675,64 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -126657,93 +131836,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] - public static - void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - /// /// Specifies the value of a generic vertex attribute /// @@ -126786,90 +131878,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static - void VertexAttrib4(UInt32 index, Single[] v) + void VertexAttrib4(UInt32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } + Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); #if DEBUG } #endif @@ -126926,13 +131943,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static - unsafe void VertexAttrib4(UInt32 index, Single* v) + void VertexAttrib4(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -126982,15 +132005,225 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static - void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + unsafe void VertexAttrib4(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + public static + void VertexAttrib4h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] + public static + void VertexAttrib4h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(UInt32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(Int32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(Int32 index, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + unsafe void VertexAttrib4h(Int32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + unsafe void VertexAttrib4h(UInt32 index, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + void VertexAttrib4h(UInt32 index, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -127039,90 +132272,15 @@ namespace OpenTK.Graphics /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static - void VertexAttrib4(UInt32 index, Int16[] v) + void VertexAttrib4(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } + Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); #if DEBUG } #endif @@ -127192,6 +132350,110 @@ namespace OpenTK.Graphics } + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -127294,7 +132556,35 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - void VertexAttrib4(UInt32 index, Byte[] v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + void VertexAttrib4(Int32 index, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127326,9 +132616,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - void VertexAttrib4(Int32 index, Byte[] v) + void VertexAttrib4(UInt32 index, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127432,7 +132723,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) + unsafe void VertexAttrib4(Int32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127446,48 +132737,555 @@ namespace OpenTK.Graphics /// - /// Specifies the value of a generic vertex attribute + /// Define an array of generic vertex attribute data /// /// /// /// Specifies the index of the generic vertex attribute to be modified. /// /// - /// + /// /// - /// Specifies the new values to be used for the specified vertex attribute. + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - unsafe void VertexAttrib4(Int32 index, Byte* v) + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, Double[] v) + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); } #if DEBUG } @@ -127517,7 +133315,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, ref Double v) + void VertexAttribs1(UInt32 index, Int32 count, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127525,7 +133323,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); } @@ -127535,9 +133333,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static - void VertexAttribs1(Int32 index, Int32 count, ref Double v) + unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127570,16 +133384,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Double* v) + void VertexAttribs1(Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -127606,6 +133425,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + void VertexAttribs1(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static void VertexAttribs1(Int32 index, Int32 count, Single[] v) @@ -127647,26 +133501,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] - public static - void VertexAttribs1(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static @@ -127683,15 +133517,112 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + void VertexAttribs1h(UInt32 index, Int32 n, ref OpenTK.Math.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(Int32 index, Int32 n, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + unsafe void VertexAttribs1h(UInt32 index, Int32 n, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); #if DEBUG } #endif @@ -127718,6 +133649,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static void VertexAttribs1(Int32 index, Int32 count, Int16[] v) @@ -127738,27 +133684,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] - public static - void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) @@ -127779,6 +133704,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + public static + void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static @@ -127794,16 +133740,51 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Int16* v) + void VertexAttribs2(Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); #if DEBUG } #endif @@ -127871,9 +133852,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static - void VertexAttribs2(Int32 index, Int32 count, ref Double v) + void VertexAttribs2(Int32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127881,9 +133862,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Single* v_ptr = v) { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } } #if DEBUG @@ -127891,36 +133872,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static @@ -127942,26 +133893,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static @@ -127983,26 +133914,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static @@ -128033,10 +133944,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) + void VertexAttribs2(Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128044,29 +133954,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Single* v_ptr = &v) { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } } #if DEBUG @@ -128075,9 +133965,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) + void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Math.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128085,9 +133975,100 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (OpenTK.Math.Half* v_ptr = &v) { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + unsafe void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + unsafe void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] + public static + void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Math.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Math.Half* v_ptr = &v) + { + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); } } #if DEBUG @@ -128130,6 +134111,68 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] public static @@ -128166,26 +134209,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static @@ -128209,7 +134232,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static - void VertexAttribs3(Int32 index, Int32 count, ref Double v) + void VertexAttribs3(Int32 index, Int32 count, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128217,7 +134240,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); } @@ -128227,6 +134250,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static @@ -128242,16 +134280,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Double* v) + void VertexAttribs3(Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -128278,9 +134321,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static - void VertexAttribs3(Int32 index, Int32 count, Single[] v) + unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128288,7 +134346,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -128321,7 +134379,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static - void VertexAttribs3(Int32 index, Int32 count, ref Single v) + void VertexAttribs3(Int32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128329,7 +134387,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); } @@ -128339,21 +134397,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static @@ -128369,1746 +134412,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] - public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [Out] out UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - void GenOcclusionQueries(Int32 n, [Out] out Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - unsafe void GenOcclusionQueries(Int32 n, [Out] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] - public static - unsafe void GenOcclusionQueries(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - unsafe void DeleteOcclusionQueries(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - unsafe void DeleteOcclusionQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] - public static - bool IsOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glIsOcclusionQueryNV")] - public static - bool IsOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] - public static - void BeginOcclusionQuery(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glBeginOcclusionQueryNV")] - public static - void BeginOcclusionQuery(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginOcclusionQueryNV((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glEndOcclusionQueryNV")] - public static - void EndOcclusionQuery() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndOcclusionQueryNV(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] - public static - unsafe void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - unsafe void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] - public static - void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameteriNV((OpenTK.Graphics.NvPointSprite)pname, (Int32)param); - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] - public static - void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] - public static - unsafe void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single)x, (Single)y, (Single)z, (Single)w); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - { - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double)x, (Double)y, (Double)z, (Double)w); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = &v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = &v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hNV")] - public static - void Vertex2h(OpenTK.Math.Half x, OpenTK.Math.Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] - public static - void Vertex2h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertex2hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] - public static - void Vertex2h(ref OpenTK.Math.Half v) + void VertexAttribs3h(Int32 index, Int32 n, ref OpenTK.Math.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130118,7 +134424,7 @@ namespace OpenTK.Graphics { fixed (OpenTK.Math.Half* v_ptr = &v) { - Delegates.glVertex2hvNV((OpenTK.Math.Half*)v_ptr); + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); } } #if DEBUG @@ -130127,1665 +134433,30 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - unsafe void Vertex2h(OpenTK.Math.Half* v) + unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Math.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertex2hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hNV")] - public static - void Vertex3h(OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] - public static - void Vertex3h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertex3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] - public static - void Vertex3h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertex3hvNV((OpenTK.Math.Half*)v_ptr); - } - } + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - unsafe void Vertex3h(OpenTK.Math.Half* v) + unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Math.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertex3hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hNV")] - public static - void Vertex4h(OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4hNV((OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] - public static - void Vertex4h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertex4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] - public static - void Vertex4h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertex4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] - public static - unsafe void Vertex4h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hNV")] - public static - void Normal3h(OpenTK.Math.Half nx, OpenTK.Math.Half ny, OpenTK.Math.Half nz) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hNV((OpenTK.Math.Half)nx, (OpenTK.Math.Half)ny, (OpenTK.Math.Half)nz); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] - public static - void Normal3h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glNormal3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] - public static - void Normal3h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glNormal3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] - public static - unsafe void Normal3h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hNV")] - public static - void Color3h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] - public static - void Color3h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glColor3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] - public static - void Color3h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glColor3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor3hvNV")] - public static - unsafe void Color3h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hNV")] - public static - void Color4h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue, OpenTK.Math.Half alpha) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue, (OpenTK.Math.Half)alpha); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] - public static - void Color4h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glColor4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] - public static - void Color4h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glColor4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] - public static - unsafe void Color4h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord1hNV")] - public static - void TexCoord1h(OpenTK.Math.Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1hNV((OpenTK.Math.Half)s); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord1hvNV")] - public static - unsafe void TexCoord1h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord1hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hNV")] - public static - void TexCoord2h(OpenTK.Math.Half s, OpenTK.Math.Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] - public static - void TexCoord2h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] - public static - void TexCoord2h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] - public static - unsafe void TexCoord2h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hNV")] - public static - void TexCoord3h(OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] - public static - void TexCoord3h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] - public static - void TexCoord3h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] - public static - unsafe void TexCoord3h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hNV")] - public static - void TexCoord4h(OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r, OpenTK.Math.Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4hNV((OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r, (OpenTK.Math.Half)q); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] - public static - void TexCoord4h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] - public static - void TexCoord4h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord4hvNV")] - public static - unsafe void TexCoord4h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hNV")] - public static - void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hvNV")] - public static - unsafe void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] - public static - unsafe void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] - public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] - public static - unsafe void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half s, OpenTK.Math.Half t, OpenTK.Math.Half r, OpenTK.Math.Half q) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half)s, (OpenTK.Math.Half)t, (OpenTK.Math.Half)r, (OpenTK.Math.Half)q); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] - public static - void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] - public static - unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glFogCoordhNV")] - public static - void FogCoordh(OpenTK.Math.Half fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordhNV((OpenTK.Math.Half)fog); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glFogCoordhvNV")] - public static - unsafe void FogCoordh(OpenTK.Math.Half* fog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordhvNV((OpenTK.Math.Half*)fog); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hNV")] - public static - void SecondaryColor3h(OpenTK.Math.Half red, OpenTK.Math.Half green, OpenTK.Math.Half blue) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3hNV((OpenTK.Math.Half)red, (OpenTK.Math.Half)green, (OpenTK.Math.Half)blue); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] - public static - void SecondaryColor3h(OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] - public static - void SecondaryColor3h(ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] - public static - unsafe void SecondaryColor3h(OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3hvNV((OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexWeighthNV")] - public static - void VertexWeighth(OpenTK.Math.Half weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeighthNV((OpenTK.Math.Half)weight); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexWeighthvNV")] - public static - unsafe void VertexWeighth(OpenTK.Math.Half* weight) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexWeighthvNV((OpenTK.Math.Half*)weight); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] - public static - void VertexAttrib1h(UInt32 index, OpenTK.Math.Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Math.Half)x); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] - public static - void VertexAttrib1h(Int32 index, OpenTK.Math.Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Math.Half)x); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] - public static - unsafe void VertexAttrib1h(UInt32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] - public static - unsafe void VertexAttrib1h(Int32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] - public static - void VertexAttrib2h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hNV")] - public static - void VertexAttrib2h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(UInt32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(Int32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(UInt32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(Int32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - unsafe void VertexAttrib2h(UInt32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - unsafe void VertexAttrib2h(Int32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] - public static - void VertexAttrib3h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] - public static - void VertexAttrib3h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(UInt32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(Int32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(UInt32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(Int32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - unsafe void VertexAttrib3h(UInt32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - unsafe void VertexAttrib3h(Int32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] - public static - void VertexAttrib4h(UInt32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] - public static - void VertexAttrib4h(Int32 index, OpenTK.Math.Half x, OpenTK.Math.Half y, OpenTK.Math.Half z, OpenTK.Math.Half w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hNV((UInt32)index, (OpenTK.Math.Half)x, (OpenTK.Math.Half)y, (OpenTK.Math.Half)z, (OpenTK.Math.Half)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(UInt32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(Int32 index, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(UInt32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - void VertexAttrib4h(Int32 index, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(UInt32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(Int32 index, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(UInt32 index, Int32 n, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - void VertexAttribs1h(Int32 index, Int32 n, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(UInt32 index, Int32 n, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Math.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Math.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Math.Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - unsafe void VertexAttribs2h(UInt32 index, Int32 n, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - unsafe void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); #if DEBUG } #endif @@ -131853,9 +134524,39 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - void VertexAttribs3h(Int32 index, Int32 n, ref OpenTK.Math.Half v) + unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + unsafe void VertexAttribs3(UInt32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131863,9 +134564,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Math.Half* v_ptr = &v) + fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v_ptr); + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -131874,39 +134575,294 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Math.Half* v) + void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Math.Half* v) + void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + unsafe void VertexAttribs4(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static - void VertexAttribs4h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) + void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Math.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131924,9 +134880,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static - void VertexAttribs4h(Int32 index, Int32 n, OpenTK.Math.Half[] v) + void VertexAttribs4h(UInt32 index, Int32 n, OpenTK.Math.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -131965,6 +134922,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] + public static + unsafe void VertexAttribs4h(UInt32 index, Int32 n, OpenTK.Math.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static void VertexAttribs4h(Int32 index, Int32 n, ref OpenTK.Math.Half v) @@ -131985,21 +134957,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] - public static - unsafe void VertexAttribs4h(UInt32 index, Int32 n, OpenTK.Math.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (OpenTK.Math.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static @@ -132015,2655 +134972,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] - public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glFlushPixelDataRangeNV")] - public static - void FlushPixelDataRange(OpenTK.Graphics.NvPixelDataRange target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartNV")] - public static - void PrimitiveRestart() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartNV(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] - public static - void PrimitiveRestartIndex(UInt32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndexNV((UInt32)index); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] - public static - void PrimitiveRestartIndex(Int32 index) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPrimitiveRestartIndexNV((UInt32)index); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uiNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uiNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - unsafe void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glProgramVertexLimitNV")] - public static - void ProgramVertexLimit(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramVertexLimitNV((OpenTK.Graphics.NvGeometryProgram4)target, (Int32)limit); - #if DEBUG - } - #endif - } - - - /// - /// Specify mapping of depth values from normalized device coordinates to window coordinates - /// - /// - /// - /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0. - /// - /// - /// - /// - /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. - /// - /// - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthRangedNV")] - public static - void DepthRange(Double zNear, Double zFar) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); - #if DEBUG - } - #endif - } - - - /// - /// Specify the clear value for the depth buffer - /// - /// - /// - /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. - /// - /// - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glClearDepthdNV")] - public static - void ClearDepth(Double depth) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearDepthdNV((Double)depth); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthBoundsdNV")] - public static - void DepthBounds(Double zmin, Double zmax) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFramebufferMultisampleCoverage", Version = "1.5", EntryPoint = "glRenderbufferStorageMultisampleCoverageNV")] - public static - void RenderbufferStorageMultisampleCoverage(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBeginTransformFeedbackNV")] - public static - void BeginTransformFeedback(OpenTK.Graphics.NvTransformFeedback primitiveMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback)primitiveMode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glEndTransformFeedbackNV")] - public static - void EndTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndTransformFeedbackNV(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* attribs_ptr = &attribs) - { - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferRangeNV")] - public static - void BindBufferRange(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferRangeNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] - public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] - public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferBaseNV")] - public static - void BindBufferBase(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindBufferBaseNV((OpenTK.Graphics.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] - public static - void ActiveVarying(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveVaryingNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] - public static - void ActiveVarying(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glActiveVaryingNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] - public static - Int32 GetVaryingLocation(UInt32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] - public static - Int32 GetVaryingLocation(Int32 program, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - unsafe void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(Int32 program, Int32 index, [Out] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] - public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.NvConditionalRender mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.NvConditionalRender)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glEndConditionalRenderNV")] - public static - void EndConditionalRender() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndConditionalRenderNV(); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, Int32 key0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, Int32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] - public static - void PresentFrameDualFill(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] - public static - void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.NvPresentVideo target3, Int32 fill3) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] - public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = &@params) - { - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideoi64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + void VertexAttribs4(Int32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134671,10 +134982,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int64* @params_ptr = &@params) + fixed (Int16* v_ptr = &v) { - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -134683,39 +134993,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] - public static - unsafe void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - unsafe void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) + void VertexAttribs4(UInt32 index, Int32 count, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134723,9 +135018,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* val_ptr = val) + fixed (Int16* v_ptr = v) { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -134733,9 +135028,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single[] val) + void VertexAttribs4(Int32 index, Int32 count, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134743,9 +135038,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* val_ptr = val) + fixed (Int16* v_ptr = v) { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -134754,30 +135049,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] out Single val) + void VertexAttribs4(UInt32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134785,10 +135059,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* val_ptr = &val) + fixed (Int16* v_ptr = &v) { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -134797,126 +135070,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static - void SampleMaskIndexed(UInt32 index, UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glSampleMaskIndexedNV")] - public static - void SampleMaskIndexed(Int32 index, Int32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static - void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static - void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4svNV")] public static - void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, Int32 id) + unsafe void VertexAttribs4(Int32 index, Int32 count, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void DeleteTransformFeedback(Int32 n, UInt32[] ids) + void VertexAttribs4(UInt32 index, Int32 count, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134924,9 +135095,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = ids) + fixed (Byte* v_ptr = &v) { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); } } #if DEBUG @@ -134934,9 +135105,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void DeleteTransformFeedback(Int32 n, Int32[] ids) + void VertexAttribs4(Int32 index, Int32 count, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134944,9 +135115,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = ids) + fixed (Byte* v_ptr = v) { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); } } #if DEBUG @@ -134955,29 +135126,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - void DeleteTransformFeedback(Int32 n, ref UInt32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void DeleteTransformFeedback(Int32 n, ref Int32 ids) + void VertexAttribs4(UInt32 index, Int32 count, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134985,9 +135136,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = &ids) + fixed (Byte* v_ptr = v) { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); } } #if DEBUG @@ -134996,101 +135147,38 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] - public static - unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - void GenTransformFeedback(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void GenTransformFeedback(Int32 n, [Out] Int32[] ids) + unsafe void VertexAttribs4(UInt32 index, Int32 count, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void GenTransformFeedback(Int32 n, [Out] out UInt32 ids) + unsafe void VertexAttribs4(Int32 index, Int32 count, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; - } - } + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); #if DEBUG } #endif } - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4ubvNV")] public static - void GenTransformFeedback(Int32 n, [Out] out Int32 ids) + void VertexAttribs4(Int32 index, Int32 count, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -135098,10 +135186,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = &ids) + fixed (Byte* v_ptr = &v) { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v_ptr); } } #if DEBUG @@ -135109,117 +135196,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - unsafe void GenTransformFeedback(Int32 n, [Out] UInt32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] - public static - unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static - bool IsTransformFeedback(UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedbackNV((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glIsTransformFeedbackNV")] - public static - bool IsTransformFeedback(Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsTransformFeedbackNV((UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] - public static - void PauseTransformFeedback() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPauseTransformFeedbackNV(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexWeighthNV")] public static - void ResumeTransformFeedback() + void VertexWeighth(OpenTK.Math.Half weight) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glResumeTransformFeedbackNV(); + Delegates.glVertexWeighthNV((OpenTK.Math.Half)weight); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] - public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexWeighthvNV")] public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, Int32 id) + unsafe void VertexWeighth(OpenTK.Math.Half* weight) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)mode, (UInt32)id); + Delegates.glVertexWeighthvNV((OpenTK.Math.Half*)weight); #if DEBUG } #endif @@ -135262,321 +135262,6 @@ namespace OpenTK.Graphics public static partial class Sgi { - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Set color lookup table parameters /// @@ -135650,6 +135335,45 @@ namespace OpenTK.Graphics } + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Set color lookup table parameters /// @@ -135762,6 +135486,282 @@ namespace OpenTK.Graphics } + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Copy pixels into a color table /// @@ -135805,271 +135805,6 @@ namespace OpenTK.Graphics } - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Get color lookup table parameters /// @@ -136144,6 +135879,45 @@ namespace OpenTK.Graphics } + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Get color lookup table parameters /// @@ -136256,13 +136030,254 @@ namespace OpenTK.Graphics #endif } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + } public static partial class Sgis { - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single[] weights) + unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + public static + void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136270,9 +136285,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = weights) + fixed (Single* points_ptr = &points) { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -136280,9 +136295,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] out Single weights) + void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136290,10 +136305,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = &weights) + fixed (Single* points_ptr = points) { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); - weights = *weights_ptr; + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -136302,23 +136316,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] public static - unsafe void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights) + unsafe void FogFunc(Int32 n, Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] public static - void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single[] weights) + void FogFunc(Int32 n, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136326,9 +136340,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = weights) + fixed (Single* points_ptr = &points) { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -136336,9 +136350,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] public static - void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, ref Single weights) + void FogFunc(Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136346,9 +136360,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* weights_ptr = &weights) + fixed (Single* points_ptr = points) { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -136357,37 +136371,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - unsafe void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights) + unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameteriSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32[] @params) + void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136395,9 +136395,50 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Single* points_ptr = &points) { - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); + points = *points_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] + public static + void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + public static + void GetFogFunc([Out] Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glGetFogFuncSGIS((Single*)points_ptr); } } #if DEBUG @@ -136406,37 +136447,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params) + unsafe void GetFogFunc([Out] Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); + Delegates.glGetFogFuncSGIS((Single*)points); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfSGIS")] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single[] @params) + void GetFogFunc([Out] out Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136444,9 +136471,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* points_ptr = &points) { - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params_ptr); + Delegates.glGetFogFuncSGIS((Single*)points_ptr); + points = *points_ptr; } } #if DEBUG @@ -136454,77 +136482,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] - public static - unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] - public static - unsafe void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single[] @params) @@ -136581,221 +136538,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T12 pixels) - where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[] pixels) - where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,] pixels) - where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] - public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,,] pixels) - where T12 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] - public static - void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) + void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136803,9 +136548,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = points) + fixed (Int32* @params_ptr = @params) { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -136813,9 +136558,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static - void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) + void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136823,9 +136568,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Int32* @params_ptr = &@params) { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -136834,126 +136580,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterivSGIS")] public static - unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + unsafe void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); - points = *points_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); #if DEBUG } #endif @@ -137015,29 +136650,155 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisMultisample", Version = "1.1", EntryPoint = "glSampleMaskSGIS")] + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] public static - void SampleMask(Single value, bool invert) + void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSampleMaskSGIS((Single)value, (bool)invert); + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "SgisMultisample", Version = "1.0", EntryPoint = "glSamplePatternSGIS")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] public static - void SamplePattern(OpenTK.Graphics.SgisMultisample pattern) + unsafe void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSamplePatternSGIS((OpenTK.Graphics.SgisMultisample)pattern); + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] out Single weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = &weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + weights = *weights_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfvSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameteriSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + unsafe void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterivSGIS")] + public static + void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.SgisPixelTexture)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -137134,9 +136895,37 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + [AutoGenerated(Category = "SgisMultisample", Version = "1.1", EntryPoint = "glSampleMaskSGIS")] public static - void FogFunc(Int32 n, Single[] points) + void SampleMask(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaskSGIS((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisMultisample", Version = "1.0", EntryPoint = "glSamplePatternSGIS")] + public static + void SamplePattern(OpenTK.Graphics.SgisMultisample pattern) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSamplePatternSGIS((OpenTK.Graphics.SgisMultisample)pattern); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137146,7 +136935,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = points) { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -137154,9 +136943,24 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] public static - void FogFunc(Int32 n, ref Single points) + unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137166,7 +136970,47 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = &points) { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + public static + void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, ref Single weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = &weights) + { + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] + public static + void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); } } #if DEBUG @@ -137175,71 +137019,227 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static - unsafe void FogFunc(Int32 n, Single* points) + unsafe void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFogFuncSGIS((Int32)n, (Single*)points); + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); #if DEBUG } #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void GetFogFunc([Out] Single[] points) + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try { - fixed (Single* points_ptr = points) - { - Delegates.glGetFogFuncSGIS((Single*)points_ptr); - } + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); } #if DEBUG } #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void GetFogFunc([Out] out Single points) + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try { - fixed (Single* points_ptr = &points) - { - Delegates.glGetFogFuncSGIS((Single*)points_ptr); - points = *points_ptr; - } + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - unsafe void GetFogFunc([Out] Single* points) + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFogFuncSGIS((Single*)points); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T12 pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,,] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,] pixels) + where T12 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -137263,290 +137263,45 @@ namespace OpenTK.Graphics public static partial class Sgix { - [AutoGenerated(Category = "SgixPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] public static - void PixelTexGen(OpenTK.Graphics.SgixPixelTexture mode) + void AsyncMarker(Int32 marker) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPixelTexGenSGIX((OpenTK.Graphics.SgixPixelTexture)mode); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.SgixSprite)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params_ptr); - } - } + Delegates.glAsyncMarkerSGIX((UInt32)marker); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] public static - unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single* @params) + void AsyncMarker(UInt32 marker) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameteriSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] - public static - void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params_ptr); - } - } + Delegates.glAsyncMarkerSGIX((UInt32)marker); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static - unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32* @params) + unsafe void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glGetInstrumentsSGIX")] - public static - Int32 GetInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glGetInstrumentsSGIX(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] - public static - void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = buffer) - { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] - public static - void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); - buffer = *buffer_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] - public static - unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] - public static - unsafe Int32 PollInstruments([Out] Int32* marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] - public static - Int32 PollInstruments([Out] out Int32 marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* marker_p_ptr = &marker_p) - { - Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr); - marker_p = *marker_p_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glReadInstrumentsSGIX")] - public static - void ReadInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReadInstrumentsSGIX((Int32)marker); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glStartInstrumentsSGIX")] - public static - void StartInstruments() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStartInstrumentsSGIX(); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glStopInstrumentsSGIX")] - public static - void StopInstruments(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glStopInstrumentsSGIX((Int32)marker); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFramezoom", Version = "1.0", EntryPoint = "glFrameZoomSGIX")] - public static - void FrameZoom(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFrameZoomSGIX((Int32)factor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixTagSampleBuffer", Version = "1.0", EntryPoint = "glTagSampleBufferSGIX")] - public static - void TagSampleBuffer() - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTagSampleBufferSGIX(); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); #if DEBUG } #endif @@ -137592,16 +137347,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] public static - unsafe void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } #if DEBUG } #endif @@ -137627,26 +137387,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* points_ptr = &points) - { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] public static @@ -137662,21 +137402,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformSGIX")] - public static - void Deform(UInt32 mask) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeformSGIX((UInt32)mask); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformSGIX")] public static void Deform(Int32 mask) @@ -137692,37 +137417,53 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformSGIX")] public static - void LoadIdentityDeformationMap(UInt32 mask) + void Deform(UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + Delegates.glDeformSGIX((UInt32)mask); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] public static - void LoadIdentityDeformationMap(Int32 mask) + void DeleteAsyncMarkers(UInt32 marker, Int32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] public static - void ReferencePlane(Double[] equation) + void DeleteAsyncMarkers(Int32 marker, Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + Int32 FinishAsync([Out] out UInt32 markerp) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137730,29 +137471,11 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* equation_ptr = equation) + fixed (UInt32* markerp_ptr = &markerp) { - Delegates.glReferencePlaneSGIX((Double*)equation_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] - public static - void ReferencePlane(ref Double equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* equation_ptr = &equation) - { - Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; } } #if DEBUG @@ -137761,15 +137484,52 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] public static - unsafe void ReferencePlane(Double* equation) + unsafe Int32 FinishAsync([Out] Int32* markerp) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReferencePlaneSGIX((Double*)equation); + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + Int32 FinishAsync([Out] out Int32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + unsafe Int32 FinishAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); #if DEBUG } #endif @@ -137789,434 +137549,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentColorMaterialSGIX")] public static void FragmentColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode) @@ -138294,6 +137626,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] + public static + unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] public static void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32[] @params) @@ -138314,21 +137661,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightivSGIX")] - public static - unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfSGIX")] public static void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single param) @@ -138525,21 +137857,29 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + [AutoGenerated(Category = "SgixFramezoom", Version = "1.0", EntryPoint = "glFrameZoomSGIX")] public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single[] @params) + void FrameZoom(Int32 factor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); - } + Delegates.glFrameZoomSGIX((Int32)factor); + #if DEBUG } + #endif + } + + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glGenAsyncMarkersSGIX")] + public static + Int32 GenAsyncMarkers(Int32 range) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glGenAsyncMarkersSGIX((Int32)range); #if DEBUG } #endif @@ -138566,6 +137906,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static @@ -138581,21 +137941,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32[] @params) + unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); - } - } + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); #if DEBUG } #endif @@ -138622,24 +137977,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static - unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] - public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) + void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138647,9 +137987,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -138693,6 +138033,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + public static + void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] public static void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) @@ -138734,98 +138109,38 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glGetInstrumentsSGIX")] public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + Int32 GetInstruments() { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glLightEnviSGIX")] - public static - void LightEnv(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLightEnviSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32)param); + return Delegates.glGetInstrumentsSGIX(); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - void AsyncMarker(UInt32 marker) + unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAsyncMarkerSGIX((UInt32)marker); + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); #if DEBUG } #endif } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glAsyncMarkerSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - void AsyncMarker(Int32 marker) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAsyncMarkerSGIX((UInt32)marker); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([Out] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([Out] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - Int32 FinishAsync([Out] out UInt32 markerp) + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138833,33 +138148,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* markerp_ptr = &markerp) + fixed (Single* @params_ptr = &@params) { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - Int32 FinishAsync([Out] out Int32 markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* markerp_ptr = &markerp) - { - Int32 retval = Delegates.glFinishAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -138868,39 +138160,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - unsafe Int32 PollAsync([Out] UInt32* markerp) + unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - unsafe Int32 PollAsync([Out] Int32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] - public static - Int32 PollAsync([Out] out UInt32 markerp) + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138908,11 +138185,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* markerp_ptr = &markerp) + fixed (Single* @params_ptr = &@params) { - Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -138920,9 +138196,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - Int32 PollAsync([Out] out Int32 markerp) + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138930,11 +138207,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* markerp_ptr = &markerp) + fixed (Single* @params_ptr = @params) { - Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); - markerp = *markerp_ptr; - return retval; + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); } } #if DEBUG @@ -138942,73 +138217,158 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glGenAsyncMarkersSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static - Int32 GenAsyncMarkers(Int32 range) + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGenAsyncMarkersSGIX((Int32)range); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - void DeleteAsyncMarkers(UInt32 marker, Int32 range) + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); - #if DEBUG + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } } - #endif - } - - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glDeleteAsyncMarkersSGIX")] - public static - void DeleteAsyncMarkers(Int32 marker, Int32 range) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - bool IsAsyncMarker(UInt32 marker) + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static - bool IsAsyncMarker(Int32 marker) + unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + unsafe void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } #if DEBUG } #endif @@ -139028,29 +138388,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[] @params) @@ -139074,29 +138411,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] - public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,,] @params) @@ -139120,10 +138434,996 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = &buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); + buffer = *buffer_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffer_ptr = buffer) + { + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + public static + bool IsAsyncMarker(UInt32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glIsAsyncMarkerSGIX")] + public static + bool IsAsyncMarker(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glLightEnviSGIX")] + public static + void LightEnv(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLightEnviSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterivSGIX")] + public static + unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + public static + void LoadIdentityDeformationMap(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] + public static + void LoadIdentityDeformationMap(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenSGIX")] + public static + void PixelTexGen(OpenTK.Graphics.SgixPixelTexture mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelTexGenSGIX((OpenTK.Graphics.SgixPixelTexture)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([Out] Int32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + Int32 PollAsync([Out] out Int32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + Int32 PollAsync([Out] out UInt32 markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* markerp_ptr = &markerp) + { + Int32 retval = Delegates.glPollAsyncSGIX((UInt32*)markerp_ptr); + markerp = *markerp_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + unsafe Int32 PollInstruments([Out] Int32* marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + Int32 PollInstruments([Out] out Int32 marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* marker_p_ptr = &marker_p) + { + Int32 retval = Delegates.glPollInstrumentsSGIX((Int32*)marker_p_ptr); + marker_p = *marker_p_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glReadInstrumentsSGIX")] + public static + void ReadInstruments(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReadInstrumentsSGIX((Int32)marker); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + void ReferencePlane(ref Double equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = &equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + void ReferencePlane(Double[] equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* equation_ptr = equation) + { + Delegates.glReferencePlaneSGIX((Double*)equation_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + unsafe void ReferencePlane(Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReferencePlaneSGIX((Double*)equation); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.SgixSprite)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] + public static + unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfvSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.SgixSprite)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameteriSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + public static + void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + public static + unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glStartInstrumentsSGIX")] + public static + void StartInstruments() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStartInstrumentsSGIX(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glStopInstrumentsSGIX")] + public static + void StopInstruments(Int32 marker) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glStopInstrumentsSGIX((Int32)marker); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgixTagSampleBuffer", Version = "1.0", EntryPoint = "glTagSampleBufferSGIX")] + public static + void TagSampleBuffer() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTagSampleBufferSGIX(); + #if DEBUG + } + #endif + } + } public static partial class Sun { + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fSUN")] + public static + void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + void Color3fVertex3(ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + unsafe void Color3fVertex3(Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] + public static + void Color3fVertex3(Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fSUN")] + public static + void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fSUN")] + public static + void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + void Color4ubVertex2(Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + unsafe void Color4ubVertex2(Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + void Color4ubVertex2(ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] + public static + void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + void Color4ubVertex3(Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + unsafe void Color4ubVertex3(Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] + public static + void Color4ubVertex3(ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunMeshArray", Version = "1.1", EntryPoint = "glDrawMeshArraysSUN")] + public static + void DrawMeshArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorbSUN")] public static @@ -139139,48 +139439,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorsSUN")] - public static - void GlobalAlphaFactors(Int16 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorsSUN((Int16)factor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoriSUN")] - public static - void GlobalAlphaFactor(Int32 factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactoriSUN((Int32)factor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorfSUN")] - public static - void GlobalAlphaFactor(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGlobalAlphaFactorfSUN((Single)factor); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactordSUN")] public static void GlobalAlphaFactor(Double factor) @@ -139195,6 +139453,48 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorfSUN")] + public static + void GlobalAlphaFactor(Single factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorfSUN((Single)factor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoriSUN")] + public static + void GlobalAlphaFactor(Int32 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactoriSUN((Int32)factor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorsSUN")] + public static + void GlobalAlphaFactors(Int16 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactorsSUN((Int16)factor); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorubSUN")] public static void GlobalAlphaFactor(Byte factor) @@ -139209,6 +139509,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoruiSUN")] + public static + void GlobalAlphaFactor(UInt32 factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorusSUN")] public static @@ -139238,97 +139553,38 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactoruiSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fSUN")] public static - void GlobalAlphaFactor(UInt32 factor) + void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); + Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] public static - void ReplacementCode(UInt32 code) + unsafe void Normal3fVertex3(Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiSUN((UInt32)code); + Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); #if DEBUG } #endif } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] public static - void ReplacementCode(Int32 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiSUN((UInt32)code); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] - public static - void ReplacementCode(UInt16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusSUN((UInt16)code); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] - public static - void ReplacementCode(Int16 code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusSUN((UInt16)code); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubSUN")] - public static - void ReplacementCode(Byte code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubSUN((Byte)code); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - void ReplacementCode(UInt32[] code) + void Normal3fVertex3(ref Single n, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139336,9 +139592,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* code_ptr = code) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); } } #if DEBUG @@ -139346,9 +139603,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] public static - void ReplacementCode(Int32[] code) + void Normal3fVertex3(Single[] n, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139356,9 +139613,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* code_ptr = code) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); } } #if DEBUG @@ -139366,156 +139624,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - unsafe void ReplacementCode(UInt32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuivSUN((UInt32*)code); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - unsafe void ReplacementCode(Int32* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuivSUN((UInt32*)code); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] - public static - void ReplacementCode(UInt16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* code_ptr = code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] - public static - void ReplacementCode(Int16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* code_ptr = code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] - public static - unsafe void ReplacementCode(UInt16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusvSUN((UInt16*)code); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] - public static - unsafe void ReplacementCode(Int16* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeusvSUN((UInt16*)code); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] - public static - void ReplacementCode(Byte[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* code_ptr = code) - { - Delegates.glReplacementCodeubvSUN((Byte*)code_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] - public static - unsafe void ReplacementCode(Byte* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubvSUN((Byte*)code); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] - public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] ref T2 pointer) @@ -139539,6 +139647,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[] pointer) @@ -139608,94 +139730,38 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fSUN")] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubSUN")] public static - void Color4ubVertex2(Byte r, Byte g, Byte b, Byte a, Single x, Single y) + void ReplacementCode(Byte code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } + Delegates.glReplacementCodeubSUN((Byte)code); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] public static - unsafe void Color4ubVertex2(Byte* c, Single* v) + unsafe void ReplacementCode(Byte* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); + Delegates.glReplacementCodeubvSUN((Byte*)code); #if DEBUG } #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] public static - void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - void Color4ubVertex3(Byte[] c, Single[] v) + void ReplacementCode(Byte[] code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139703,10 +139769,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) + fixed (Byte* code_ptr = code) { - Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeubvSUN((Byte*)code_ptr); } } #if DEBUG @@ -139714,1048 +139779,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - void Color4ubVertex3(ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] - public static - unsafe void Color4ubVertex3(Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fSUN")] - public static - void Color3fVertex3(Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] - public static - void Color3fVertex3(Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] - public static - void Color3fVertex3(ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] - public static - unsafe void Color3fVertex3(Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fSUN")] - public static - void Normal3fVertex3(Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - void Normal3fVertex3(Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - void Normal3fVertex3(ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glNormal3fVertex3fvSUN((Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glNormal3fVertex3fvSUN")] - public static - unsafe void Normal3fVertex3(Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fSUN")] - public static - void Color4fNormal3fVertex3(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - unsafe void Color4fNormal3fVertex3(Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fSUN")] - public static - void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - void TexCoord2fVertex3(Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - void TexCoord2fVertex3(ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] - public static - unsafe void TexCoord2fVertex3(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fSUN")] - public static - void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - void TexCoord4fVertex4(Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - void TexCoord4fVertex4(ref Single tc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] - public static - unsafe void TexCoord4fVertex4(Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] - public static - void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] - public static - void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] - public static - void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static - void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static - void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref UInt32 rc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] public static @@ -140788,17 +139811,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); #if DEBUG } #endif @@ -140871,13 +139890,17 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single[] c, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -140898,148 +139921,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] public static @@ -141072,38 +139953,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -141133,6 +139989,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static void ReplacementCodeuiColor4fNormal3fVertex3(ref Int32 rc, ref Single c, ref Single n, ref Single v) @@ -141159,94 +140050,65 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) fixed (Single* v_ptr = v) { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) + void ReplacementCodeuiColor4ubVertex3(Int32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* tc_ptr = tc) + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) fixed (Single* v_ptr = v) { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); } #if DEBUG } @@ -141254,9 +140116,80 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] public static - void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) + unsafe void ReplacementCodeuiColor4ubVertex3(Int32* rc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(ref Int32 rc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141265,10 +140198,10 @@ namespace OpenTK.Graphics unsafe { fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) + fixed (Byte* c_ptr = &c) fixed (Single* v_ptr = &v) { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); } } #if DEBUG @@ -141276,9 +140209,239 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] public static - void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v) + void ReplacementCodeuiNormal3fVertex3(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(Int32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + public static + void ReplacementCode(Int32 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiSUN((UInt32)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] + public static + void ReplacementCode(UInt32 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiSUN((UInt32)code); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141288,9 +140451,11 @@ namespace OpenTK.Graphics { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); } } #if DEBUG @@ -141299,30 +140464,67 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -141357,6 +140559,26 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static @@ -141380,18 +140602,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single[] tc, Single[] n, Single[] v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* tc_ptr = tc) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -141460,119 +140677,37 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(Int32* rc, Single* tc, Single* n, Single* v) + void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(ref Int32 rc, ref Single tc, ref Single c, ref Single n, ref Single v) + void ReplacementCodeuiTexCoord2fVertex3(ref Int32 rc, ref Single tc, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141582,11 +140717,9 @@ namespace OpenTK.Graphics { fixed (Int32* rc_ptr = &rc) fixed (Single* tc_ptr = &tc) - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) fixed (Single* v_ptr = &v) { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); } } #if DEBUG @@ -141595,44 +140728,911 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single[] tc, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single[] tc, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc_ptr, (Single*)v_ptr); + } #if DEBUG } #endif } - [AutoGenerated(Category = "SunMeshArray", Version = "1.1", EntryPoint = "glDrawMeshArraysSUN")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static - void DrawMeshArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width) + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count, (Int32)width); + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fVertex3(ref UInt32 rc, ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] + public static + void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] + public static + void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + void ReplacementCodeuiVertex3(ref Int32 rc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + void ReplacementCodeuiVertex3(ref UInt32 rc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(UInt32* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuivSUN((UInt32*)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(Int32* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuivSUN((UInt32*)code); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + void ReplacementCode(Int32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + void ReplacementCode(UInt32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] + public static + void ReplacementCode(Int16 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusSUN((UInt16)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] + public static + void ReplacementCode(UInt16 code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusSUN((UInt16)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + unsafe void ReplacementCode(UInt16* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusvSUN((UInt16*)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + unsafe void ReplacementCode(Int16* code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeusvSUN((UInt16*)code); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + void ReplacementCode(UInt16[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* code_ptr = code) + { + Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + void ReplacementCode(Int16[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* code_ptr = code) + { + Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] + public static + void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + void TexCoord2fColor3fVertex3(Single[] tc, Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] + public static + void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] + public static + void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fSUN")] + public static + void TexCoord2fVertex3(Single s, Single t, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + void TexCoord2fVertex3(ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + void TexCoord2fVertex3(Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fVertex3fvSUN")] + public static + unsafe void TexCoord2fVertex3(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fSUN")] + public static + void TexCoord4fVertex4(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + unsafe void TexCoord4fVertex4(Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + void TexCoord4fVertex4(Single[] tc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] + public static + void TexCoord4fVertex4(ref Single tc, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif